I need to write a batch file to auto upload a backup every day. I'm restricted to Windows, can anyone suggest any free software to do this? I was looking at FileZilla, but the command line interface doesn't let you auto upload files, and I need to buy a license for CuteFTP.

link|improve this question
1  
This belongs on SuperUser? – Dunya Degirmenci Apr 9 '10 at 18:35
Just to clarify, you want the FTPS protocol (FTP-SSL, aka FTP-Secure), correct? Or are you just asking for FTP programs ("FTPs" plural)? – rob Apr 9 '10 at 19:32
Oh, sorry for the confusion, yes I'm looking for the FTPES protocol. – Tejaswi Yerukalapudi Apr 9 '10 at 19:47
feedback

migrated from stackoverflow.com Apr 9 '10 at 18:38

This question came from our site for professional and enthusiast programmers.

6 Answers

winscp has command-line/scripting features.

http://winscp.net/eng/docs/commandline#scripting

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

link|improve this answer
feedback

Overkill to get to sftp but cygwin is a nice toolset. Depending on your needs, you could scale the install back to only the minimum you need or scale it up and use BASH/python/etc. instead of a batch file.

link|improve this answer
If you're a git lover, mysysgit also includes the ssh toolset. – jweede Apr 9 '10 at 18:50
SFTP != FTPS ... – rob Apr 9 '10 at 20:38
feedback

There's an SFTP client available as part of the great Putty package, maybe that would serve your needs?

link|improve this answer
feedback

curl supports both STARTTLS and plain old SSL, with --ssl-reqd and --upload-file.

curl --ssl-reqd --upload-file backup.txz ftp://mysite/backups/
link|improve this answer
feedback

SFTP and FTPS are both encrypted in similar fashion, BUT there is a BIG difference between their deployment and use.

However, from what I can gather, you need a FTP client for both. Filezilla is a good one that users I've dealt with never complained was too hard to figure out.

To use SFTP, you need a key exchange. To use FTPS, you issue self-signed or CA certificate AND don't need to issue private keys.

link|improve this answer
feedback

Last time I checked DOS had an inbuilt FTP client. Just type FTP in a command window (then type help for a list of commands).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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