Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can any one suggest me how to start working in SFTP?(Any books/web sites)

I have to create a batch program to pull a file from a url using SFTP in windows.

I have no idea about SFTP.

A batch program which pulls the file from a url using FTP is already existing.

PLease find below for the commands used in the above existing batch program.

set PgpID=gecorpcard set FtpID=ftp.corpcard.com set FtpUser=xxxxxxx set FtpPswd=xxxxxxx set FtpMethod=binary set FtpGetUser=xxxxxxx set FtpGetUserPswd=xxxxxxx set PgpKeyID=0x29A6A1F6

Here the server name is psftppgp201.It means the file has to be uploaded into the server from the third party url.

share|improve this question
are you sure you need SFTP? or just a secure ftp client, sftp is a wrapper for SSH filer transfers –  Jimsmithkka Aug 17 '10 at 10:14

4 Answers 4

Look at the Putty package, i am pretty sure there is a CLI sftp included in it that can be scripted.

share|improve this answer
It's the PSFTP package –  mfinni Aug 17 '10 at 10:27
thanks, i knew there was one –  Jimsmithkka Aug 17 '10 at 10:31

Another SFTP and FTP client is WinSCP.

share|improve this answer

I use cygwin for that. Includes a command line SSH / SFTP, etc.

share|improve this answer

You are asking for SFTP advice, but rest of your question is about FTP. SFTP and FTP are completely different protocols.


  • FTP is old, plain file transfer protocol. Passwords are sent unencrypted
  • FTPS (or FTP/SSL) is same FTP protocol run over TLS/SSL encrypted communication channel
  • SFTP stands for SSH File Transfer Protocol - a completely different beast. You can run SSH Shell or SCP over the same connection.

For details see http://www.rebex.net/kb/secure-ftp.aspx

FTP, FTP/SSL and SFTP clients for windows: I would try either Filezilla or WinScp. Both are multiplatform and work fine on Windows.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.