Answer the question
In order to leave comments, you need to log in
How to upload a folder to an ftp server with all its contents in one command?
To download the desired folder from the ftp server, I use the following command
/usr/bin/wget -nH --cut-dirs=4 -r -P $TO ftp://$USER:$PASS@$HOST/$FROM
Answer the question
In order to leave comments, you need to log in
Hi,
Wget is a downloader, not an uploader.
Install and use wput:
wput.sourceforge.net
or use what Sergey already suggested .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question