0
votes
0answers
37 views

How can I detect if I have access for resource?

I'm trying to write bash script for file copying from local machine to FTP using lftp. Problem is, when someone enter inaccessible path for mkdir or put, then LFTP returns e.g.: Access failed: 550 ...
0
votes
0answers
167 views

“Illegal version” error with LFTP

The following command: lftp -c 'open -e "set ftps:initial-prot ""; \ set ftp:ssl-force true; \ set ftp:ssl-protect-data true; \ set ssl:verify-certificate no; \ nlist ; " \ -u "username","password" \ ...
0
votes
1answer
761 views

lftp, setting for ignoring time-stamp?

I am using lftp for mirroring the files on a server to a PC. The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
1
vote
1answer
269 views

lftp: how to echo an unsupported command to remote server

I am connecting to a remote server that requires that I change my password every 90 days (WS_FTP Pro). The command to do that is "CPWD oldpass newpass". I would like to do it using a script but I ...