Hi,
Trying to transfer things in one go using lftp:
lftp > mput -d ftp_from/TestPage.*.prn -O sftp://user:[EMAIL
PROTECTED]/home/user/ftp_to
mput: Access failed: No such file
(/home/user/ftp_to/ftp_from/TestPage.ps.prn)
or
lftp > mput -O 'sftp://user:[EMAIL PROTECTED]/home/user/ftp_to/'
sftp://doc:[EMAIL PROTECTED]/interfaces/home/kvd/ftp_from/TestPage.ps.prn
mput: Access failed: No such file (/home/user/ftp_to/TestPage.ps.prn)
Using the commands separately does work:
lftp> open -u user,passwd <host>
lftp> cd <remote_path>
lftp> mput ftp_from/*
This works fine, however I would like the full URL to work, especially
the transfer from one host to the other, something like
lftp> mget -E -O sftp://user:[EMAIL PROTECTED]/home/user/ftp_to/
sftp://doc:[EMAIL PROTECTED]/interfaces/home/kvd/ftp_from/*.ps
This way the file is transfered (and erased on success) in one go.
Regards,
Johan