SFTP Password Problem

Dec 2, 2008

The documentation for SFTP says:

You can also specify an explicit username and password on the command line:


If you specify a password of *, you will be prompted to enter the password (which will appear on the screen as asterisks).

But using "username:*" doesn't work, while "username: password" does. When I type in the password and hit return I just get another prompt for the password.

I am using TCC 13.04.63


IFTP /P /V sftp://[username:*@]ftp.abc.com/

This seems to work, but


does not work.


Staff member
May 14, 2008
But using "username:*" doesn't work, while "username: password" does. When I type in the password and hit return I just get another prompt for the password.

It does work, but it depends on what you're doing. Something like a MD / RD / DEL / REN will work, because those are single operations. Something like a DIR requires calling the SFTP connection routine for more than a dozen logon / logoffs (more if you use /S), and the SFTP routine doesn't know when it's safe to reuse the password.

An IFTP saves the password for the initial connection, so it never needs to ask again because the connection isn't closed until a /C. (And IFTP is far, far, faster than trying to do something like a "dir sftp://...".)
Similar threads
Thread starter Title Forum Replies Date
M syntax for sftp with publickey Support 3
P Problem with SFTP copies Support 7
vefatica How are SFTP fingerprints handled? Support 5
vefatica SFTP Support 2
vefatica SFTP question Support 17
vefatica IFTP and SFTP Support 7
B when doing SFTP via IFTP to my secure site my users always get the finger print key prompt Support 1
U Variables _IFTP, _IFTPS: what about sftp connections? Support 2
S Crashes when using SFTP Support 7
millardjk SFTP fingerprint acknowledgement Support 5
A How to? Set up SMTP password in TCC-RT Support 1
D Fixed Removing the mail password causes GPF Support 2
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
S How to? enable or disable screen saver password Support 5
R ftp server password required to download pdf help Support 3
H Another multiple FTP password prompt issue Support 2
H Double prompt for password with * in FTP syntax Support 3
Dick Johnson Weird Color Problem Support 8
fishman@panix.com Problem with 27.15 Support 2
M Problem with VSDevCmd.bat in VS 16.7.3 Support 0
R Problem with @INT[ value] in V26 Support 9
M Selecting test "off by one" problem in Take command Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
K_Meinhard Small problem in german IDE 26 Support 3
B Problem with color in nested shells Support 1
Joe Caverly Problem creating and switching to a DESKTOP Support 9
vefatica Another popup problem Support 10
Alpengreis ffind dialog (/W) problem Support 4
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
A Problem with functions @int @decimal and identifying Powershell as a shell. Support 12
B IF command problem in tcexit.btm Support 9
fishman@panix.com Problem at Startup of TCC Support 3
P Problem with FTP copies Support 10
Jay Sage Problem with Context Menu Copy+Paste+Run Key Assignment Support 7
R Problem with %_do_loop in nested do loops Support 2
fishman@panix.com New Problem with later Windows 10 Support 10
Peter Murschall A little problem with LEAVE and COMMENT Support 5
M Handling of %~I problem Support 4
WinLanEm FOR problem Support 18
K Problem With SCRPUT /u Support 3
vefatica What's TCMD's problem with ^e[0m? Support 13
Peter Murschall IDE: RTL with non-English resources-problem is back in Build 28 Support 4
rps Regex problem: \xnn not recognized as a hex character Support 0
rps PRIORITY LOW problem Support 1
old coot Regex problem: \xnn not recognized as a hex character Support 12
vefatica Another problem with build 22. Support 3
Alpengreis [23.x] Download-Problem Support 2
S Problem with " Support 3
C Problem navigating forums Support 11

Similar threads