Another multiple FTP password prompt issue

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
There are still some instances where I get multiple password prompts when
accessing files via FTP and not using IFTP. As shown below, DIR works
correctly but COPY does not. It doesn't matter whether the usernmae and
asteriisk are in an FTP.CFG file or specified on the command line.

C:\...\TCMD11>ver /r

TCC 11.00.30 Windows XP [Version 5.1.2600]
TCC Build 30 Windows XP Build 2600 Service Pack 3
Registered to Howard Goldstein - 1 System License

C:\...\TCMD11>type ftp.cfg
jpsoft.com anonymous *

C:\...\TCMD11>\test\

C:\test>*dir ftp://jpsoft.com/free/4os2304.zip

Password: (jpsoft.com:anonymous): ******************
Directory of ftp://jpsoft.com/free/4os2304.zip

10/07/2006 0:00 535,471 4os2304.zip
535,471 bytes in 1 file and 0 dirs

C:\test>copy ftp://jpsoft.com/free/4os2304.zip
Password: (jpsoft.com:anonymous): ******************
ftp://jpsoft.com/free/4os2304.zip => C:\test\4os2304.zip
Password: (jpsoft.com:anonymous): ******************
1 file copied

C:\test>*dir ftp://anonymous:*@jpsoft.com/free/4os2304.zip

Password: (jpsoft.com:anonymous): ******************
Directory of ftp://jpsoft.com/free/4os2304.zip

10/07/2006 0:00 535,471 4os2304.zip
535,471 bytes in 1 file and 0 dirs

C:\test>copy ftp://anonymous:*@jpsoft.com/free/4os2304.zip
Password: (jpsoft.com:anonymous): ******************
ftp://jpsoft.com/free/4os2304.zip => C:\test\4os2304.zip
Password: (jpsoft.com:anonymous): ******************
1 file copied

C:\test>

--
Howard
 

rconn

Administrator
Staff member
May 14, 2008
10,101
85
#2
> There are still some instances where I get multiple password prompts
> when accessing files via FTP and not using IFTP. As shown below,
> DIR works correctly but COPY does not. It doesn't matter whether
> the usernmae and asteriisk are in an FTP.CFG file or specified on
> the command line.
Nothing I can do about that (short of eliminating FTP altogether and always
requiring IFTP). Any non-IFTP action requires multiple logins &
disconnects; in the case of a DIR it's two, but with COPY it's a half-dozen.
It's not possible for the FTP connection code to know when a random command
is going to stop attempting connections.
 
#3
Rex Conn wrote:

----- Original Message -----
From: "rconn" <>
To: <hgoldst1@sbcglobal.net>
Sent: Saturday, October 31, 2009 3:30 PM
Subject: RE: [Support-t-1535] Another multiple FTP password prompt issue



> ---Quote---
>> There are still some instances where I get multiple password prompts
>> when accessing files via FTP and not using IFTP. As shown below,
>> DIR works correctly but COPY does not. It doesn't matter whether
>> the usernmae and asteriisk are in an FTP.CFG file or specified on
>> the command line.
> ---End Quote---
> Nothing I can do about that (short of eliminating FTP altogether and
> always
> requiring IFTP). Any non-IFTP action requires multiple logins &
> disconnects; in the case of a DIR it's two, but with COPY it's a
> half-dozen.
> It's not possible for the FTP connection code to know when a random
> command
> is going to stop attempting connections.
>
So I guess I'm fortunate to have been prompted only twice on that COPY
command!

OK, I'll use IFTP in my batch files, and won't be too surprised if I'm
prompted more than once in casual FTP commands.

Thanks,

Howard