Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


CuteFTP Script to Download

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,61715
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> CuteFTP Script to Download
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 CuteFTP Script to Download - 6/22/2008 11:44:04 PM   
  RajMAC

 

Posts: 5
Score: 0
Joined: 6/22/2008
Status: offline
Dear All,

I am new for this forum and also new for the VBScript.  I need one script to download file from remote folder to local folder.
Below is the requirement:

As any file gets uploaded on the ftp folder, our scripts will download that files in the local folder.

Below is the scripts I downloaded from any website, but it downloads only the files mention in the code. I don't want to mention any files name in the code, as file get uploaded to the ftp folder, our scripts tool should download those files to local folder.


      
Thanks
 
 
Post #: 1
 
 RE: CuteFTP Script to Download - 6/23/2008 3:50:02 PM   
  RajMAC

 

Posts: 5
Score: 0
Joined: 6/22/2008
Status: offline
Dear All,

Here this is the second script I got from CuteFTP user guide. My problem is stiil the same, I don't want to mention any file names, I want to download all contents of a folder with a specific location of local system.


      

(in reply to RajMAC)
 
 
Post #: 2
 
 RE: CuteFTP Script to Download - 6/23/2008 11:49:31 PM   
  ebgreen


Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
Are you stuck on using CuteFTP? If this were my problem to resolve, I would use the ftp client that you already have installed from MS. Look at the mget command.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to RajMAC)
 
 
Post #: 3
 
 RE: CuteFTP Script to Download - 6/25/2008 10:42:01 PM   
  RajMAC

 

Posts: 5
Score: 0
Joined: 6/22/2008
Status: offline
Hi,

I didn't get you. Are you able to help me.

Thanks

(in reply to RajMAC)
 
 
Post #: 4
 
 RE: CuteFTP Script to Download - 6/26/2008 12:35:26 AM   
  ebgreen


Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
Is there some reason that you have to use CuteFTP? If you are on a windows machine (and if you aren't why would you use vbscript) then you already have a scriptable ftp client installed as part of the OS. If you search the forum you should be able to find examples.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to RajMAC)
 
 
Post #: 5
 
 RE: CuteFTP Script to Download - 6/27/2008 12:28:55 AM   
  RajMAC

 

Posts: 5
Score: 0
Joined: 6/22/2008
Status: offline
Hi,

Yes I am using Windows, but I don't know which scritable ftp is installed with OS. So, I have installed CuteFTP for downloading & uploading the files. At present one team is dedicately working for this task and some time they skip to downloads some files from that location.

So, I am looking for a way with script so that no files will get skip by that team.

Please help me to get this done either by CuteFTP or by any method.

Thanks

(in reply to ebgreen)
 
 
Post #: 6
 
 RE: CuteFTP Script to Download - 6/27/2008 2:42:43 AM   
  RajMAC

 

Posts: 5
Score: 0
Joined: 6/22/2008
Status: offline
Hi,

I think I am not able to explain what I want. In remote folder, there are some folders like Client1, Client2, Client3, etc. clients are uploading some files in these folders with in the folder 20080627(YEARMONTHDATE) in folder Client1, Client2, Client3, etc.

I have created folders Client1, Client2, Client3, etc. in my local disk, now I want do downloads 20080627 folder in the respective folders. May be some folders Client1, Client2, Client3, etc. will be blank.

This is the main task I want to automate.

Thanks

(in reply to RajMAC)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> CuteFTP Script to Download Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts