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.

I need to automate some transfers but it seems i can't find a decent command-line ftp client supporting FTPS for the windows platform? winscp supports SFTP but there's no good SFTP server for windows either, only FreeSSHDService which don't seems to be actively supported anymore.. therefore i want to use FileZilla Server which supports FTPS..

share|improve this question
1  
Do you need a FTPS or SFTP client? Those are very different things - FTPS is simple FTP+SSL, and SFTP is a separate protocol that uses SSH. –  grawity Jul 13 '09 at 11:46
    
As stated both in title and in body I'm looking for a FTPS client, not a SFTP client from which there are many to choose from... –  Carl Hörberg Jul 13 '09 at 12:07
add comment

9 Answers

You could use Cygwin and select the openssh lftp package.

(It has a dependency to openssl, so I assume it was compiled using configure --with-openssl)

share|improve this answer
    
lftp is great, but cygwin is always such a hassle :( –  Carl Hörberg Jul 14 '09 at 10:14
    
Cygwin a hassle? Why? (I read in your profile Works just as easily in windows servers as in a linux system...?) –  Arjan Jul 14 '09 at 11:02
add comment
up vote 2 down vote accepted

Since i wrote the question WinSCP has been updated to support FTPS!

http://winscp.net/eng/docs/ftps

share|improve this answer
add comment

SFTPPlus has some automation features.

Secure file transfer using Open Standards (SSH, SFTP, FTPS, HTTP, PGP etc) plus additional audit & automation for enterprise strength usage.

share|improve this answer
    
too bad you have to pay for it.. –  Carl Hörberg Jul 13 '09 at 12:09
add comment

The cURL library http://curl.haxx.se/ lists FTPS support in its list of features, so presumably the reference client provided with it can be used to make FTPS transfers from the command line.

On the point of "no good SFTP servers for Windows", cygwin (http://www.cygwin.com/) includes the full OpenSSH package, which comes with both

  • a SSH server capable of allowing SFTP (or SCP) transfers
  • a command-line sftp/scp client (called scp) which can be called from Windows scripts (batch files and WSH scripts via the shell.run method) - you just need to be careful to specify paths correctly.

I have used the SSH server provided by cygwin to provide SFTP/SCP support on several Windows systems. Thsi might be better to use instead of FTPS if only because FTPS is not as widely supported, as you have found.

share|improve this answer
    
seems ok, except you only can upload one file at a time.. i want to upload a folders without have to specify each filename.. –  Carl Hörberg Jul 13 '09 at 12:14
    
True. You could try using the Windows "forfiles" command [a simple utility found in recent versions (you'll find it in the resource kits for older Windows releases) that does the basics of the "find" command you may be familiar with from Unix/Linux/BSD/cygwin] to run multiple calls curl for the files in a directory structure. –  David Spillett Jul 13 '09 at 14:09
add comment

C-Kermit contains a very good scriptable FTPS client.

The Windows version costs money, but not very much. Unix/Linux versions are free.

share|improve this answer
add comment

Most of the SSHDs havent seen an update in years because there really hasn't been much to add to these applications.

Personally i use http://sshwindows.sourceforge.net/ for the server side and one of the putty clients for scripted sftp.

The website above mentions a new developer who's making some minor if nice changes, but as stated, i've never need anything beyond what was already there.

Your right there's not much in the way of ftps clients, it's the less loved of the two options, primarily due to the dual network port requirement, inconsistent character sets and different ways of listing dirs.

Cheers M.

share|improve this answer
    
true, SFTP feels more solid, but i still think it's strange that there's hundreds of normal FTP clients but so few with FTPS support, when only need to wrap the FTP socket in a SSL tunnel.. –  Carl Hörberg Jul 13 '09 at 12:17
add comment

PuTTY has a nice SFTP client (x86 EXE reference)
And, whatever you do, please use public key authentication.


I stand corrected; PuTTY uses FTP tunneling through SSH which is different from your request for a FTP through SSL.

share|improve this answer
    
A minor annoyance for those using client certificates to connect: PuTTY uses some proprietary format. (It does offer a free tool to convert standard certs into PuTTY certs, but it does take some extra effort to get it running.) –  Arjan Jul 13 '09 at 10:42
    
I agree, If you can use Cygwin, it would solve the problem any day. PuTTY is only if you choose to not use Cygwin on windows. –  nik Jul 13 '09 at 10:46
1  
indeed PSFTP is a great SFTP client, but it isn't a FTPS client as i was asking for.. –  Carl Hörberg Jul 13 '09 at 12:08
1  
@Carl, My bad. I misread your need for a SSL FTP connection. Sorry for that. –  nik Jul 13 '09 at 12:22
    
Yep, Putty is pretty much a standard FTP client (and it supports regular non-ssl ftp) but the difference is that it connects on the telnet port 22 and it accepts a cert and it tunnels through into the ftp service on port 21. –  djangofan Aug 12 '09 at 0:02
add comment

Try CoreFTP? I checked it out a while ago - it does have a command line interface - but I ended up not using it (I had no requirement for command-line use). Also, some features you have to pay for - but there is a free version.

share|improve this answer
    
ah, this could work.. but it doesn't give a feeling of a very solid application thou.. the command-line options are very limited and the GUI is kind of ugly.. –  Carl Hörberg Jul 14 '09 at 10:16
add comment

if your going to automate transfers I would highly recommend going the SFTP route , using either WinSCP(free) or "CoreFTP client ($20)" since those will support "scheduled" transfers. FTPS clients "generally" dont support scheduled transfers although some GUI clients do support "queuing".

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.