且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用c#.net windows应用程序将大文件发送到ftp?

更新时间:2023-01-01 16:21:49

你有没有测试任何样品。我建议你创建一些样品并进行测试。

这是一个很好的起点...



http://msdn.microsoft.com/en-us/library/ms229715(v=vs.90) .aspx [ ^ ]



如果输入和输出流正确,上传大文件应该没有任何问题。 FTP使用TCP传输层发送将保持开放日或事件周的数据。因此大小和时间不会成为问题。
Have you tested with any samples. I suggest you to create few samples and test.
Here is a good starting point ...

http://msdn.microsoft.com/en-us/library/ms229715(v=vs.90).aspx[^]

There should not be any problems in uploading large files if you input and output streams are correct. FTP uses TCP transport layer to send data which will remain open day or event week. So the size and time will not be an issue.


您好

尝试这段代码:

http://www.digitalcoding.com/Code-Snippets /C-Sharp/C-Code-Snippet-Upload-file-to-FTP-Server.html [ ^ ]



欢呼,

Marco Alessandro Bertschi
Hi
try this piece of code:
http://www.digitalcoding.com/Code-Snippets/C-Sharp/C-Code-Snippet-Upload-file-to-FTP-Server.html[^]

cheers,
Marco Alessandro Bertschi