How can I get .bat to upload to FTP an ENTIRE folder and subfolders?
Check out http://www.biterscripting.com/helpp... .
That script mirrors an entire local folder from a
local computer to a remote FTP server. Will
create the subfolders as necessary.
Call the script like this from biterscripting.
ftpserver("ftp.server.com") ftplogin("login") ftppassword("pswd")
(Enter the entire command on one line. I had to split it to make it visible.)
path to local folder
path on the FTP server.
So, for example, if the local computer has following files,
the FTP server will have the following files.
The folder 'fruits' will be created if it does not exist. Will upload .html and .gif files in correct (ascii, binary) mode.
The script does somethings similar to why2u's script - it creates a file containing commands around the local directory structure. The link has the code for the script, so you can modify.