CopyFiles Component | Not Working

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:///
this if I execute in web browser gives me option to download xxx.tar.gz file

targetUrl - sftp://:@:/
overWrite - true
createParentDirectories - true

But, it always gives me error

Copy failed
Failed to obtain target file info
Failed to obtain file info

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.

“slechtaj”

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?