View Single Post
Posts: 30 | Thanked: 89 times | Joined on Jan 2009
#15
Finally I did it!

I used lftp from this post.

After that with the help of a tutorial on lftp I finally managed to get this working command line:

Code:
lftp -c open -e "put %s -o %s" ftp://username:password@my.server.name/sub/dir/
Thanks for the tip with lftp. I still don't really understand that command line (why the heck this -e "..."-thing right in the middle?) but it works fine.

The benefits of working with lftp is that it's robust. If there is no permanent error, it tries uploading the file until it's really done. It will resume or restart when the connection is lost etc.

DerYo-->

Last edited by deryo; 2011-06-17 at 18:43.
 

The Following User Says Thank You to deryo For This Useful Post: