Hi, 
I would like to connect to a remote machine using the sftp protocal. If I simply
do: 
lftp [EMAIL PROTECTED] -d
I get prompted for as passwd, after which if I do 'ls' I get:

---- Connecting to remote_machine port 21
**** Socket error (Connection refused) - reconnecting
---- Closing control socket

If I try the following commands, however, I can get a connection fine:
lftp
open sftp://remote_machine
user mylogin
passwd ...

Is there a way of telling lftp to use sftp as the default connection or some way
of using the simple syntax: lftp [EMAIL PROTECTED] I've had a look through
the man pages but can't figure it out...

Many thanks,

Simon

Reply via email to