![]() We download the content of subdirectories too? Remote directory has both files and folder with other files.However, there are some caveats in this approach. Calling Ftp.GetList(), iterating through the returned collection and caling Ftp.GetFile() on each item looks like a no brainer. To download all files in a specified remote folder seems to be a trivial task at first. Quick & dirty (yet a bit naive) directory download code See the multiple-file operations feature page for code samples in C# and VB.NET. UPDATE: This blogpost from year 2009 uses old API (GetFiles method), in the new versions of Rebex components there are the newer multiple file operations Upload and Download.
0 Comments
Leave a Reply. |