tags:

views:

118

answers:

3

I am doing projects on ftp. On my client side they have ssh. Until now I done application without ssh, I don't know how to transfer files over ftp when there is ssh over it.

I want to do it in C# 2.0. How to do it? Any information regarding this will be very helpful.

+1  A: 

You typically use the Secure Copy Program (scp), rather than ftp (or sftp).

Will
+1  A: 

There is a lot of documentation on Wikipedia, about the (non-)standard etc.:

http://en.wikipedia.org/wiki/SSH%5Ffile%5Ftransfer%5Fprotocol

However, note that there are alternatives: You can remotely execute "ls" using ssh and you can use scp to copy files.

If you really want to use sftp, my best guess for C# is to remote-control psftp.exe

Lars D
A: 

If you need a third party component for this, I've had good luck with Chilkat's.