
July 11th, 2012, 07:54 AM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 2
Time spent in forums: 12 m 54 sec
Reputation Power: 0
|
|
|
Need help writing FTP script
I need some help scripting a FTP transfer that will happen 5 days a week. Here is the background:
We have a department that is scanning documents. The scanned images are placed in a folder, outside of the folder is an index file of the images. Here is the folder structure:
Folder:
Scanned Images Folder(this folder is a different name every day)
Index file(the name of this file matches the name of the scanned images folder)
I need to FTP the scanned images folder and the index file. I am doing a basic .bat file script that calls WS_FTP Pro 12.
If I do -s local:\folder -d "destination" it actually will sent the folder, and everything in it. I don't want to send the folder itself, just what's in it.
If I do -s local:\folder\*.* -d"Destination" it will only send the index file.
Anyone have any ideas?
|