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
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