Lara F
asked on
FTP automation script
Need script in windows batch or WSH.
FTP all files in predefined local directory,
to corresponding directory on remote server.
Directory on remote server needs to be created if it does not exists, or copy to existing one if directory exists on remote server.
After transfer need to log summary - files in local directory, files in remote directory,
Can not install any 3-d party ftp programs on the server.
FTP all files in predefined local directory,
to corresponding directory on remote server.
Directory on remote server needs to be created if it does not exists, or copy to existing one if directory exists on remote server.
After transfer need to log summary - files in local directory, files in remote directory,
Can not install any 3-d party ftp programs on the server.
ASKER
Directory name is different - can it be parameter.
How I validate if directory exists on remote server
How I validate if directory exists on remote server
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
https://www.experts-exchange.com/questions/27272929/automated-ftp-transfers.html
That being said, I think a BAT script something like this should do the job. The log file will show all files that were transferred. If you want another full listing of the files you can use the LS and DIR subcommands at the end of the ftp commands.
Open in new window
~bp