Re: FTP
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Wed, 29 Oct 2008 12:07:43 +0100
"Guido" <Guido@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EAD3649F-9137-4DBB-A6DA-6726057382BD@xxxxxxxxxxxxxxxx
I am using the built in ftp command in Windows XP to connect to a Unix
Server
ih the same network subnet.
When I start ftp and the ip address of the server it asks me for a user
name
and password which I type in and it works fine.
I am trying to write a series of commands into a batch file and I would
like
to include the user name and password within the batch file so that the
user
is not prompted for them.
Is there a way to do this.
Your help would be appreciated.
Regards,
Guido
You could use this batch file:
@echo off
set site=ftp.xxx.com
set account=guido
set password=SomePassword
set script="%temp%\script.scr"
echo> %script% %account%
echo>>%script% %password%
echo>>%script% binary
echo>>%script% get SomeFile.doc
echo>>%script% quit
ftp -s:%Script% %site%
del %script%
.
- References:
- FTP
- From: Guido
- FTP
- Prev by Date: Problem with loading an user profile
- Next by Date: Re: Java jre-6u10
- Previous by thread: FTP
- Next by thread: Re: FTP
- Index(es):
Relevant Pages
|