|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Secure file transferHi 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 The answer to your question depends on the file transfer method you are > transfer from server1 to server2 using .NET? 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 ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/ Hi Jani,
Thanks for the email as well as the links. I will look into it. Stephen Show quote "Jani Järvinen [MVP]" <ja***@removethis.dystopia.fi> wrote in message news:eFI7dEVBHHA.5068@TK2MSFTNGP02.phx.gbl... > 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 > ja***@removethis.dystopia.fi > http://www.saunalahti.fi/janij/ > > |
|||||||||||||||||||||||