Possible Duplicates:
How to do multiple FTP Uploads/Downloads? Multiple Download/Upload in FTP using C#
How to do multiple Upload/Download in a single connection in FTP using C#? I dont want to use FTPWebRequest because maybe at some later stage I'll need to convert this code to C++
Any code snippet ..
If you're using Managed C++, you'll still be able to use FTPWebRequest? If you're not, the code will be so completley different, unless you P/Invoke out to do everything that you'll spend more time trying to translate your C# into C++ than you'd save by just re-writing it from scratch.
In short, if you're targeting the CLR, use FTPWebRequest no matter what language you're targeting. If you're targeting native code with C++, use a library of your choice or OS native methods.
精彩评论