Is there any refernece to C# that I'm able to upload some files from my computer (where program is running) to my FTP that is somwere else and again to download that files to my other computer (on that other computer I'm running program again.)
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Use
FtpWebRequest
andFtpWebResponse
classes. for more information see:http://msdn.microsoft.com/en-us/library/ms229718.aspx
Code
Upload (Source: http://msdn.microsoft.com/de-de/library/ms229715.aspx):
Download (Source: http://msdn.microsoft.com/en-US/library/ms229711.aspx):