AT command....

B

bigddy9

Hey folks, I have a problem that I was hoping one of you could assis
with. I have written an ftp script to move some files from one serve
to another. I wanted to schedule the script to run every night.
scheduled it using th AT command in a command prompt. I get an AT i
number, but the job never runs. The only issue I can see, and not sur
how to correct, is that the server that is receiving the files is not i
the same domain as the one pushing the files. Actually, the receivin
server isn't in a domain at all. With ftp it really shouldn't matter
but maybe I overlooked something.


Here is the .bat part:
@echo off
ftp -n -s:files.txt

Here is the files.txt part:
open xxx.xxx.xxx.xxx
user
username
password
cd directory\directorylcd c:\logfiles
prompt
mget *.*
bye

If I run it manually, it works perfect, but whevever I schedule it, i
just doesn't run. I have put the /interactive switch in the A
scheduler, to see if there was an error, but nothing happens at te
scheduled time. Any help is appreciated...thanks all.

Dann
 
B

bojimbo26

ftp://ftp.microsoft.com/softlib/mslfiles/opengl95.exeOn Wed, 26 Sep
2007 18:56:27 +0100 said:
Hey folks, I have a problem that I was hoping one of you could assist
with. I have written an ftp script to move some files from one server
to another. I wanted to schedule the script to run every night. I
scheduled it using th AT command in a command prompt. I get an AT id
number, but the job never runs. The only issue I can see, and not sure
how to correct, is that the server that is receiving the files is not in
the same domain as the one pushing the files. Actually, the receiving
server isn't in a domain at all. With ftp it really shouldn't matter,
but maybe I overlooked something.


Here is the .bat part:
@echo off
ftp -n -s:files.txt

Here is the files.txt part:
open xxx.xxx.xxx.xxx
user
username
password
cd directory\directorylcd c:\logfiles
prompt
mget *.*
bye

If I run it manually, it works perfect, but whevever I schedule it, it
just doesn't run. I have put the /interactive switch in the AT
scheduler, to see if there was an error, but nothing happens at teh
scheduled time. Any help is appreciated...thanks all.

Danny

Is the computer left on for it to run ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top