Google Answers Logo
View Question
 
Q: Insert files to FTP, dump them from FTP to another folder in another location. ( No Answer,   1 Comment )
Question  
Subject: Insert files to FTP, dump them from FTP to another folder in another location.
Category: Computers
Asked by: mhasaad-ga
List Price: $4.00
Posted: 11 Oct 2005 21:47 PDT
Expires: 25 Oct 2005 00:56 PDT
Question ID: 579199
I am trying to do the next:
1. A folder contains some excel sheets that are being generated by a DTS packages.
2. I want this excel sheets to be inserted to a FTP link (user_name
and password) automatically without any human interface, and to check
if there are any excel sheets in the folder and keep pulling the excel
sheets from the folder as long as there are
sheets. All of this needed to be done automatically.
3. Then I wanted the FTP to dump these excel sheets to another
location (another company) in a certain folder in a c:\\ drive.
4. Finally, delete the excel sheets from the folder and the FTP link after
transfer the sheets (files) to the other location.

Steps:
A. Folder_name_1 (company 1)--->> FTP (after signing in).
B. FTP --->>Folder_name_2(company_2 ).
C. Delete the excel sheets from foler_name_1.
D. Delete them also from FTP.

Hint: the FTP link is already exists.

Regards,
Mohammed.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Insert files to FTP, dump them from FTP to another folder in another locatio
From: dmrmv-ga on 12 Oct 2005 12:44 PDT
 
There are two different aspects to your question:
1) Scripting an FTP session.
2) Scheduling events under Windows (from your question it sounds like
you're using Windows).

Here's a discussion of FTP scripting:
http://www.columbia.edu/kermit/ftpscripts.html for Kermit
(communication software which contains an FTP client). Here is a
discussion of scripts for the Windows ftp client:
http://support.microsoft.com/?kbid=96269.

To schedule events under Windows you can use the "at" command:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx
or "schtasks" (available on XP):
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/schtasks.mspx
or the GUI tool: Control Panel>Scheduled Tasks.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy