Secure file transfer

  • Thread starter Thread starter stephen
  • Start date Start date
S

stephen

Hi all,

Can anyone point me to an article or software code for secure file transfer
from server1 to server2 using .NET?

Thanks,
Stephen
 
Hello Stephen,
Can anyone point me to an article or software code for secure file
transfer from server1 to server2 using .NET?

The answer to your question depends on the file transfer method you are
referring to / need to use. The .NET platform already provides support for
HTTPS (SSL secured HTTP), which can be seen as a method of transferring
files. However, if you are referring to SFTP (FTP over SSH), then
unfortunately the base class library doesn't do it for you. Of course, other
techniques exists that let you transfer files securely. Which one(s) did you
have in mind?

If SFTP is what you are looking for, then there are several libraries
available that help you to communicate with SSH, but I guess most (all?) of
these libraries are commercial. Here's a MSDN Forums discussion about the
same topic which you might find useful:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=95323&SiteID=1

And here's a code example using one of the available libraries:

http://www.jscape.com/articles/sftp_using_csharp.html

Hope this helps!

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
(e-mail address removed)
http://www.saunalahti.fi/janij/
 
Back
Top