FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 11th, 2012, 07:54 AM
jlopes2 jlopes2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 2 jlopes2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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?

Reply With Quote
  #2  
Old July 11th, 2012, 12:04 PM
jlopes2 jlopes2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 2 jlopes2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 54 sec
Reputation Power: 0
I found a LOOONNGGG way around this. I'm using the synchronize files, with an exlusion of the .tmp file, to upload the folder, and then I upload the file after.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Need help writing FTP script

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap