You be better off reposting this to the scripting group
news://msnews.microsoft.com/microsof...rver.scripting
--
Peter
Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.
"MariusK" <> wrote in message news:...
>
> Well, I'm sitting here and can't this to work right.
> Here's what I want to do:
> - Login to a ftp server
> - Download qconsole.log from demott
> - Upload the same file to another folder at the remote server. (/logs)
>
> Then the next thing:
>
> I want then to upload this file from /logs to another FTP server, could
> anyone give me an example how to do that? Anyway here's my code:
>
> Script.bat
>
>
> Code:
> --------------------
> FTP.EXE -s:SCRIPT.TXT
>
> --------------------
> Script.txt:
>
>
> Code:
> --------------------
> open **.***.**.*** (IP)
> ******** (USERNAME)
> ******** (PASSWORD)
> lcd c:\logs
> quote PASV
> cd /demott
> quote PASV
> get qconsole.log
> cd /demott/logs
> quote PASV
> put qconsole.log
> --------------------
>
>
> --
> MariusK