开发者

How to do multiple Upload/Download in a single connection in FTP using C# [duplicate]

开发者 https://www.devze.com 2023-01-09 18:38 出处:网络
This question already has answers here: 开发者_Go百科 Closed 12 years ago. Possible Duplicates: How to do multiple FTP Uploads/Downloads?
This question already has answers here: 开发者_Go百科 Closed 12 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消