Click here to Skip to main content
Sign Up to vote bad
good
See more: .NET3.5C#
Hello,
 
How to large file upload to ftp using c# .net windows application?
 
Please help me.
 
Ankit Agarwal
Software Engineer
Posted 11 Jan '13 - 1:12


2 solutions

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.
  Permalink  
Comments
ankit.agg1984 - 11 Jan '13 - 8:05
My file is 80mb file, I want to send to the ftp, how can i upload to ftp?
Tharaka MTR - 11 Jan '13 - 8:15
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 and you can remain open it as you want. So the size and time will not be an issue.
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
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 545
1 Maciej Los 270
2 Slacker007 240
3 OriginalGriff 235
4 Aarti Meswania 185
0 Sergey Alexandrovich Kryukov 8,953
1 OriginalGriff 7,134
2 CPallini 3,758
3 Rohan Leuva 3,066
4 Maciej Los 2,528


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 11 Jan 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid