Windows Vista FTP mget using Task scheduler

  • Thread starter Thread starter jonathanlim
  • Start date Start date
J

jonathanlim

Guest
I am trying to use task scheduler for FTP activities to "mget" some
files from a particular FTP server to my local PC. I am using a batch
file that have these commands:

@echo off

> my.ftp echo o 10.123.121.123
>> my.ftp echo username
>> my.ftp echo password
>> my.ftp bin
>> my.ftp cd folder
>> my.ftp echo mget *.txt
>> my.ftp echo bye


My problem is the when i double click the batch files, the FTP can get
the txt files and place it in the same folder with the batch file, but
when i use Vista task scheduler to run the batch files, the DOS window
show the FTP mget command is running but just that i can't seems to find
the files that are downloaded. Search my whole PC and still cannot find
those files. Thus somehow i don't have write files privelages while
using task scheduler. I don't have this problem while using window XP.
Hope someone can help. Thanks in advance and really appreciate it
because i am almost giving up on this.


--
jonathanlim
 
RE: FTP mget using Task scheduler

Two things to try.
See if the files are stored in a virtual store. Look at the top of the
folder where you troed to store them and see if there is a Compatibility
Files tab. If there, this may contain those files.

Run the task with highest privileges box checked.
--
Paul


"jonathanlim" wrote:

>
> I am trying to use task scheduler for FTP activities to "mget" some
> files from a particular FTP server to my local PC. I am using a batch
> file that have these commands:
>
> @echo off
>
> > my.ftp echo o 10.123.121.123
> >> my.ftp echo username
> >> my.ftp echo password
> >> my.ftp bin
> >> my.ftp cd folder
> >> my.ftp echo mget *.txt
> >> my.ftp echo bye

>
> My problem is the when i double click the batch files, the FTP can get
> the txt files and place it in the same folder with the batch file, but
> when i use Vista task scheduler to run the batch files, the DOS window
> show the FTP mget command is running but just that i can't seems to find
> the files that are downloaded. Search my whole PC and still cannot find
> those files. Thus somehow i don't have write files privelages while
> using task scheduler. I don't have this problem while using window XP.
> Hope someone can help. Thanks in advance and really appreciate it
> because i am almost giving up on this.
>
>
> --
> jonathanlim
>
 
Re: FTP mget using Task scheduler


Yes highest privileges box is checked otherwise the FTP download action
won't even run. Cannot find the compatibility file tab as well as it
does not appear (meaning there are no compatibility files?). Again just
to mention, when i double click directly on the .bat file, it runs
perfectly and i can see the files save in the same folder. But once
using task scheduler, DOS window show FTP is downloading but then no
files are found in the same folder.


--
jonathanlim
 
Back
Top