I want to upload all the files in one directory, and I know how to upload one file using curl like this :
curl -T "local/xxx.suffix" -u xxx:psw "ftp://192.168.1.158/public/demon_test/xxx.suffix"
How can I upload all the files (subdirectory) in the current directory to an FTP server?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…