On Wed, May 02, 2012 at 10:30:34AM +0200, Andreas Herold wrote:
> I have got a problem while using the lftp-client (version 4.0.2)
> with ubuntu.
> (A co-worker of mine tried it with version 4.3.6, but got the same problem)
> I'd like to connect to a ws-ftp server and execute the "put" and
> "cd" command.
>
> Here is my way of using lftp:
> lftp -u [USERNAME],[PASSWORD] -e "set ftp:ssl-protect-data true &&
> set net:max-retries 1 && cd [PATH/TO/REMOTE/FOLDER] && put
> [PATH/TO/LOCAL/FILE] && exit" [SERVER]

Try to add -d option (debug).

> I think the lftp client can connect to the server and it is possible
> to execute the "set ftp:..." and "set net:..." commands
> but when I try to do a "cd" or "put" there is the "[Connect...]"
> -status. I don't know why.

lftp connects to the server only when necessary, i.e. when you enter a command
which needs the connection, lftp connects (or reconnects if the connection is 
lost).

--
   Alexander.
_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to