Re: ftp script question
From: Paul R. Sadowski (xpert_at_mailshell13.mailshell.com)
Date: 05/13/04
- Next message: Susie: "Switches for Cmd files"
- Previous message: Paul R. Sadowski: "Re: How to make macros be there when I call the command prompt?"
- In reply to: walid faroun: "ftp script question"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: ftp script question"
- Reply: anonymous_at_discussions.microsoft.com: "Re: ftp script question"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 13 May 2004 10:43:25 -0400
"walid faroun" <walid.faroun@eds.com> wrote in message
news:c95c01c438f5$ae946400$a501280a@phx.gbl...
>I have a simple ftp script such as the following
> ftp -ivn
> open ipaddres
> user username password
> cd /somedir
> mget *
> bye
> My question is that this scrip work fine from the command
> line, but if I run as a batch job I get to the ftp prompt
> command line waiting for command. What do I need to make
> it work. Thanks for the help in advance.
in the batch file do something like
ftp -ivn -s:c:\myftpscript.txt
where myftpscipt.txt contains the commands for the ftp session.
- Next message: Susie: "Switches for Cmd files"
- Previous message: Paul R. Sadowski: "Re: How to make macros be there when I call the command prompt?"
- In reply to: walid faroun: "ftp script question"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: ftp script question"
- Reply: anonymous_at_discussions.microsoft.com: "Re: ftp script question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|