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

asked 18 Jul '10, 05:30

eirelav's gravatar image

eirelav
16
accept rate: 0%

edited 10 Aug '10, 13:57

Rebex%20KB's gravatar image

Rebex KB ♦♦
256312

I noticed the Version of the DLL at work is 2005.

(19 Jul '10, 03:55) eirelav

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 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 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.

link

answered 19 Jul '10, 11:50

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310
accept rate: 37%

edited 04 Apr '11, 19:50

Yes you are correct thank you!

(20 Jul '10, 00:55) eirelav
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×136
×19
×10
×2

Asked: 18 Jul '10, 05:30

Seen: 430 times

Last updated: 04 Apr '11, 19:50