I need to upload full directory with other directories in it to FTP from Windows PC.
Currently I'm using Windows batch file to upload files to FTP:
FTP -i -s:upload.ftp
Upload.ftp:
open hostname
username
Password
prompt
bin
cd pathonserv/path
prompt
mput localpath/localfolder/*
This code uploads only files from local folder on server but not folders in local folder.
I can use any recommendation. I'm open to changing language from Windows batch file to Python. Also I have Linux terminal features enabled on Windows PC. C++ is also welcome if code can run without any big additional downloads.
Safety is not very important. Currently I prefer speed over safety. I need a simple script to upload directories recursively (with directories in it) to FTP that has username and password.
Also Windows is must! I wouldn't like to have more than 1 downloadable plugin, but even if it will have but work I can take it.