6

I need to write a batch file to auto upload a backup every day. I'm restricted to Windows. Is there 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.

2
  • 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, 2010 at 19:32
  • Oh, sorry for the confusion, yes I'm looking for the FTPES protocol. Apr 9, 2010 at 19:47

5 Answers 5

11

WinSCP has command-line/scripting features.

4

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

curl --ssl-reqd --upload-file backup.txz ftp://mysite/backups/
2

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.

1
  • 2
    This doesn't come near to answering the question
    – bluekeys
    Jul 9, 2015 at 14:10
2

Overkill is 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.

2
  • If you're a git lover, mysysgit also includes the ssh toolset.
    – jweede
    Apr 9, 2010 at 18:50
  • 2
    SFTP != FTPS ...
    – rob
    Apr 9, 2010 at 20:38
0

There's an SFTP client available as part of the great PuTTY package. It may serve your needs.

2
  • 2
    Under the hood SFTP and FTPS are completely different
    – Andrew
    Sep 1, 2016 at 14:46
  • The question did not specify FTPS or SFTP and there was no indication that one or the other was required. Apr 15, 2017 at 16:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .