Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > FTP mget using Task scheduler

Reply
Thread Tools Display Modes

FTP mget using Task scheduler

 
 
jonathanlim
Guest
Posts: n/a

 
      07-07-2008

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

@echo of

> my.ftp echo o 10.123.121.12
>> my.ftp echo usernam
>> my.ftp echo passwor
>> my.ftp bi
>> my.ftp cd folde
>> my.ftp echo mget *.tx
>> my.ftp echo by


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

--
jonathanlim
 
Reply With Quote
 
 
 
 
PaulB
Guest
Posts: n/a

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

 
Reply With Quote
 
jonathanlim
Guest
Posts: n/a

 
      07-08-2008

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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Task Scheduler repeat task duration bug? sm02463 Windows Vista General Discussion 4 12-06-2008 06:40 PM
Schedule a task with Vista task Scheduler wakes up computer and mo Michele Windows Vista General Discussion 0 06-05-2008 09:26 AM
Permissions Needed to Add a Task Using Task Scheduler 2.0 João Bragança Windows Vista General Discussion 0 05-29-2008 07:39 PM
Task scheduler returns an error : the task image is corrupt ortamp Jean-David Windows Vista Performance 2 05-03-2008 02:02 PM
Task scheduler problem : task do not close Junkyard Engineer Windows Vista General Discussion 0 06-07-2007 01:51 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59