I\'m trying to make a bat script to upload all files from a folder to an FTP server.
I followed the below guide and manage to get a single file uploaded but can\'t f
You need to use mput command like:
cd logs
prompt
mput *
Without prompt command, you would get asked to confirm each transfer.
Instead of the prompt
command, you can also use the -i
switch:
ftp -i -n -s:ftpcmd.dat MyFTPServer
You could also make a batch file that runs multiple other hidden batch files so that you can transfer each file with an individual batch file. If you want the code for this, just ask but it looks like the best solution has already been said ^^.