EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Secure Black Box SFTP

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
#14124
Posted: 08/06/2010 05:28:01
by Gaurav Bembi (Basic support level)
Joined: 08/06/2010
Posts: 3

I have an issue regarding downloading files.

When I am downloading the file by giving remote path as "/home/sftp" then I am able to
download multiple files but giving remote path as "http://192.565.0.99/sftp/" then I am getting an
error "NO SUCH FILE"


eg

SftpClient.DownloadFiles("/home/sftp/", "*.txt", @"c:\data\", 0, false, 0, false);

This is working correctly

but
SftpClient.DownloadFiles("http://192.565.0.99/sftp/", "*.txt", @"c:\data\", 0, false, 0, false);
is giving error "NO SUCH FILE"

What is th solution of this problem??
#14125
Posted: 08/06/2010 06:27:34
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

"http://192.565.0.99/sftp/" is not a path, but a complete URI of the resource. The DownloadFiles() method expects only path part of the URI ("/sftp/" in this case) to be provided.
#14126
Posted: 08/06/2010 06:55:33
by Gaurav Bembi (Basic support level)
Joined: 08/06/2010
Posts: 3

Thanks for your answer.

Reply

Statistics

Topic viewed 1346 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!