Advertisement

03.04.2008 at 01:55PM PST, ID: 23214196
[x]
Attachment Details

Automated FTP Upload using DOS?

Asked by shawnjanes in File Transfer Protocol (FTP), MS DOS, VB Script

Tags: DOS, Firefox 2.0

Hi:

I would like to create a .bat file I could call with Windows Scheduled tasks to automatically upload a file to my web server then delete the local files once they are uploaded.

So basically I would put the files I want uploaded in a directory on my local C: drive and nightly the files would upload to a folder on my ftp server. The file names will always remain the same and the directories in both locations would remain the same. Once the files have successfully uploaded I would then like the local files on my C: drive to be deleted.

There is a catch though, there are two files in the directory and those two files would need to be uploaded to different directories on the server.

A couple of things that would be nice is:

A) If the directory is empty no upload would take place
B) An automated email would fire off with the upload results
C) If I were at the computer a progress indicator would show me how much has been uploaded so far

Now I don't know how much if any of this is possible - it doesn't have to be over complicated, if VBScript is easier or is what I need, I am certainly not married to DOS.

Hopefully this is kind of clear. :-)

Shawn.Start Free Trial
[+][-]03.04.2008 at 01:58PM PST, ID: 21045560

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 02:05PM PST, ID: 21045620

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 02:11PM PST, ID: 21045660

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 02:15PM PST, ID: 21045703

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 02:18PM PST, ID: 21045735

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 02:18PM PST, ID: 21045740

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: File Transfer Protocol (FTP), MS DOS, VB Script
Tags: DOS, Firefox 2.0
Sign Up Now!
Solution Provided By: Ryan_Kempt
Participating Experts: 4
Solution Grade: A
 
 
[+][-]03.04.2008 at 02:19PM PST, ID: 21045744

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.04.2008 at 03:43PM PST, ID: 21046431

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]03.04.2008 at 04:19PM PST, ID: 21046634

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628