Sync Files Via FTP Batch...?
Hello, I have a flash drive that I am loaning to a friend. We're working on a project together, and I want the drive to automatically sync files between the flash drive and my computer at home.
It already has an auto run file, and it runs a batch file called "autosync.bat"
I want autosync.bat to take files on the flash drive in 3 different folders, and put them in corresponding folders on my ftp server.
So, for the sake of simplicity let's say that my username is "usr" and my password is "pword", my IP address is 0.0.0.0 and the port number is 21.
I want all files in folder "Websites" (G:\Websites) to sync to "\Websites" (C:\MyFTP\Websites) etc.
I already have my FTP service up and running, and although the drive letter will change, I think we can use "." and ".." for directory purposes in the batch file.
So, can anyone help me out?