Is there a command line FTP client where you can upload a whole directory?
Or does anyone know how to make a bat file that uses window's ftp client to upload a directory?
Any thing would be helpful, thanks.
Try with WinSCP (see CLI docs) or NcFTP
Here's how you can do it in a batch file:
@ftp -i -s:"%~f0"&GOTO:EOF
open ftp.host.com
username
password
folder
mput "*.*"
disconnect
bye
replace the "parameters"
(ftp.host.com, username, password, folder) with your own and save it as a .bat
Here's more information on ftp scripts in batch
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With