sftp

I am trying to find a test secure ftp (sftp) site that my script can login and download files automatically. I like to test my Expert script with a test sftp site only. By the way, anyone has a script that works?.

Hi,

Try something like that:

#!/bin/bash
USER='username'
PASSWD='password'

ftp -i -n ftpserver <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
mget ???
quit
END_SCRIPT

any sftp test site to try the scripts?.