0 votes
by (220 points)
edited

Our company uses Rebex with C# to put and get files to servers. I am in a situatuion though where I now need to download many files from the server I ftp into. In other words if there are 40 files in a certain directory I need to download all of them. Is their a way to do this using Rebex? With intellesense I only see Get and Put commands for file transfer. I looked online at the rebex documentation and they showed some commands for transfer of multiple files: http://www.rebex.net/ftp.net/tutorial-ftp.aspx#batch-transfers

However I am thinking that our current version of Rebex is a few years old as with intellisense I do not see a GetFiles or PutFiles command.

So is their a way to do this using just the Get command? I am open to other suggestions.

Ralph

Applies to: Rebex FTP/SSL
by (220 points)
I noticed the Version of the DLL at work is 2005.

1 Answer

0 votes
by (13.0k points)
edited
 
Best answer

The GetFiles and PutFiles methods were introduced to FTP in version 3.0.3300.0 at 2009-01-14.

To download the latest version just login to rebex.net/protected and download the latest version. If your company have a valid support contract you'll be able to download the latest version immediately. If your support contract has already expired you'll see a link for support contract renewal. The renewal cost is now about 1/3 of full license price per year. Or contact support@rebex.net for help.


Alternatively, you can use a combination of GetList, GetFile and PutFile methods to implement multi-file download - check out the source code of the ConsoleClient sample (GetDir and PutDir methods) for a sample implementation.

by (220 points)
Yes you are correct thank you!
...