I have a directory on my local system, lets say C:\dir. I'm writing a batch script to upload the contents of that directory to my server. Here's the script:
@ftp -i -s:"%~f0"&GOTO:EOF
open ftp.chintanparikh.x10.mx
[username]
[password]
lcd C:\dir
cd somedir/dir
binary
mput "*.*"
Is it possible to somehow change mput to not overwrite files? Currently, it seems to overwrite files with the same name. I'm planning on getting this to run automatically, once a day, hence why I'd rather it didn't overwrite the files.
Cheers, Chintan