Hi,
I have a scenario where I am downloading a Zip file from a remote server, and would like to copy this downloaded file a Linux Box user specific location.
This Component is used in a Graph with only this component, no connectors.
In the component, my configurations for the sftp are as:
sourceUrl - http://<server>/<filePath>
this if I execute in web browser gives me option to download xxx.tar.gz file
targetUrl - sftp://<userName>:<password>@<server>:<host>/<path to parent folder>
overWrite - true
createParentDirectories - true
But, it always gives me error
Copy failed
Failed to obtain target file info
Failed to obtain file info
<server>
Can anyone help me resolve this issue? Do I need config changes or am I using the wrong component ?
Please Help.
Thanks
Karan
I have a scenario where I am downloading a Zip file from a remote server, and would like to copy this downloaded file a Linux Box user specific location.
This Component is used in a Graph with only this component, no connectors.
In the component, my configurations for the sftp are as:
sourceUrl - http://<server>/<filePath>
this if I execute in web browser gives me option to download xxx.tar.gz file
targetUrl - sftp://<userName>:<password>@<server>:<host>/<path to parent folder>
overWrite - true
createParentDirectories - true
But, it always gives me error
Copy failed
Failed to obtain target file info
Failed to obtain file info
<server>
Can anyone help me resolve this issue? Do I need config changes or am I using the wrong component ?
Please Help.
Thanks
Karan
-
Hi Karan,
In your target URL, can you clarify what the placeholders (server and host) stands for? The SFTP URI scheme should look like this:sftp://[user:password@]host[:port]/<path>/<file>
It would be helpful if you placed here a sample SFTP URL you use. -
Hi Karan,
In your target URL, can you clarify what the placeholders (server and host) stands for? The SFTP URI scheme should look like this:sftp://[user:password@]host[:port]/<path>/<file>
It would be helpful if you placed here a sample SFTP URL you use.
Sample TargetUrl I'm using is - sftp://testUser:password123@localdevapp ... estETL/out -
Hi Karan,
I'm able to reproduce the issue by setting an incorrect port. Can you test the same connection from another client?
Please sign in to leave a comment.
Comments 3