Another multiple FTP password prompt issue

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
12,356
150
> 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.
 
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
 
Similar threads
Thread starter Title Forum Replies Date
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
vefatica Another popup problem Support 10
S How to? Runs start /w in invisible mode OR run program after exit of another one Support 3
G Press on another Window Support 24
M Another possibly strange remote registry issue Support 5
vefatica Another problem with build 22. Support 3
Patulus Yet another thread on CMD compatibility Support 16
M Take Command 18, migrating to another machine, license problem. Support 1
MickeyF Another TPIPE question Support 6
vefatica Another installer thingy Support 1
vefatica Another @EVERYTHING question Support 4
C Touch command — I Need to touch matching files in another directory. Support 5
M Another "What is wrong?" Support 8
Bill de Haan Another installation is in progress Support 6
fishman@panix.com Another Problem with The Installer Support 1
Charles Dye Another modest proposal Support 4
Dan Glynhampton Documentation v15 help: Another mailto: link oddity Support 0
M WAD Another weird copy command errror... Support 2
M Yet another strange something re something called "@TCONVERT" Support 8
Charles Dye Documentation Another help nit Support 3
K_Meinhard Documentation Another installer nit Support 1
ehab aboudaya How to? change ALT-F6 to another key Support 1
A How to? Pass output from ffind to another command in a BTM file Support 5
M Another simple question re. Take Command/TCC window witdth in characters... Support 16
Q TCC: (Sys) The process cannot access the file because it is being used by another process. Support 0
M Another bit of weirdness.... Support 0
S MOVE from FTP directory to another FTP directory - bug?? Support 2
vefatica Another debugger observation Support 12
vefatica Another DO /L question Support 1
M Another TCMD "crash" situation... Support 2
S Need help to execute TCC commands on another system Support 6
B TCC doesn't run using another user Support 2
Peter Bratton Another little bug? Support 1
M Another problem with renaming files... Support 3
nikbackm Another HISTORY dialog issue Support 0
vefatica Another help nit Support 12
S Another 4NT 8.02 vs TCC 9.02 diff - MOVE command Support 3
p.f.moore Running another batch file without CALL Support 7
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
N Unable to bind multiple keys to the same key mapping directive Support 9
vefatica Console not redrawn in BTM or with multiple commands Support 4
C duplicate files in multiple plugin sites Support 9
kb6ojs ALIAS with multiple commands? Support 9
vefatica How do I do this with a multiple-line DO? Support 7
Joe Caverly Multiple Text Searches at once using FFIND or TPIPE Support 4
R How to? Append files in multiple subfolders using copy? Support 8
N multiple command alias and redirection Support 0
B Can copy command concatenate multiple mp3 files Support 2
C INSTALLED returnes same program multiple times Support 14
M Delete multiple Alternate Datastreams Support 5

Similar threads