Reputation: 6068
I am getting following error while trying to connect to a sftp server:-
ncftpput: cannot open http://mydomain.com: unknown host.
Code which I am using is as following:-
FTPU="username" # ftp login name
FTPP="password" # ftp password
FTPS="http://mydomain.com"# remote ftp server
FTPF="/home" # remote ftp server directory for $FTPU> & $FTPP
LOCALD="/localpath"
ncftpput -m -u $FTPU -p $FTPP $FTPS $FTPF $LOCALD
I am currently running this script on fedora 10...
thanks.....
Upvotes: 1
Views: 1588