Uploading all of files in my local directory with curl Uploading all of files in my local directory with curl shell shell

Uploading all of files in my local directory with curl


Use curl with find to recursively upload all files from a specific directory:

find mydir -type f -exec curl -u xxx:psw --ftp-create-dirs -T {} ftp://192.168.1.158/public/demon_test/{} \;


instead of curl, use wput (not to be confused with wget).