Runtime Error on invoking from commandline

SNap

2006-01-24 13:20:56

hi,

when invoking smartftp from the commandline with

smartft.exe ftp://user:pass@server

i'll get an Runtime Error

OS is WinXP SP2 fully patched
smartftp is 2.0.993

Cheers
SNap

Aokromes

2006-01-24 13:27:08

Hi, what exact build are you using? because with 2.0.993.9 i am unable to reproduct your problem, not with x86 or x64 versions.

SNap

2006-01-24 19:00:31

i think it only happens with special char in username/password?


+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)

CPU Speed : 2992 MHz
Total Memory : 1047532 KB
Free Memory : 360728 KB

+- SmartFTP ---------------------------
Version : 2.0.993.6
Time Stamp : 2006-01-22 19:26:21
Platform : x86

+- Application DLL --------------------
sfFTPLib.dll : 1.5.7.13
SmartHook.dll : 1.0.2.1

+- Language ---------------------------
SmartFTP.exe : 2.0.993.6

+- System DLL -------------------------
unicows.dll : 1.0.3703.0
shell32.dll : 6.00.2900.2763 (xpsp_sp2_gdr.050922-1642)
shlwapi.dll : 6.00.2900.2781 (xpsp_sp2_gdr.051020-1730)
comctl32.dll : 6.0 (xpsp_sp2_rtm.040803-2158)
riched20.dll : 5.30.23.1221
schannel.dll : 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)

+- Internet Explorer ------------------
Version : 6.0.2900.2180

+- Winsock ----------------------------
Winsock : 2.2

mb

2006-01-25 00:01:51

Bug fixed in the latest version (.10).
https://www.smartftp.com/download

Thanks for reporting.

-Mat

SNap

2006-01-25 20:58:12

yeah great! thx....

there's still the problem with an '@' in usernames.... would be nice if url could be parsed from right to left instead from left to right


Cheers
SNap

mb

2006-01-25 22:38:07

You have to hex encode special characters in the URL.

SNap

2006-01-26 15:00:24

that's pretty anoying because url is often saved why does it have to be hex encoded? it would be easy if you would parse from right to first '@', thats the hostname.... no special chars allowed there... then parse to next ':' that's the pw.... no one woul use a ':' in a password i guess .....

eyebex

2006-01-26 15:26:17

Per FTP standard, '@' is simply not allowed as part of the username, that is why you will have to escape (by hex-encoding) it.