Re: FTP will not accept password from a batch file
- From: "Bernard Cheah [MVP]" <qbernard@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Jan 2007 12:03:56 +0800
Sweet :) Glad you fixed it.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
"Ragnar Midtskogen" <ragnar_ng@xxxxxxxxxxxxxx> wrote in message
news:eiDqXhFNHHA.4928@xxxxxxxxxxxxxxxxxxxxxxx
Thanks Bernard,
I did not delete the script file and took a look at it. I didn't see
anything wrong with it.
But when I tried running it from the command line the result was the same.
I was aware that the batch file code puts a blank at the end of each line
and it occurred to me that maybe the blank was read as part of the
password.
So, I deleted the blanks and bingo! The operation ran correctly.
I guess this FTP server doesn't like those blanks.
None of the other servers care about them.
Ragnar
.
- References:
- FTP will not accept password from a batch file
- From: Ragnar Midtskogen
- Re: FTP will not accept password from a batch file
- From: Bernard Cheah [MVP]
- Re: FTP will not accept password from a batch file
- From: Ragnar Midtskogen
- FTP will not accept password from a batch file
- Prev by Date: Re: Non-technical staff to download website pages securely
- Next by Date: Re: FPT security
- Previous by thread: Re: FTP will not accept password from a batch file
- Next by thread: Non-technical staff to download website pages securely
- Index(es):
Relevant Pages
|