Hidden files (LIST -aL) not working for Windows host

It appears the latest build (1.5.988.50) doesn't honor the "Show All Files" when connected to (at least all that I tried) Windows hosts.

I promise I scoured the boards and tried all the recommended fixes I found (disabled MSLD, created a favorite, verified that I had the settings correct to "Show All Files" and "Resolve Links") but SmartFTP doesn't honor the "LIST -aL" when connected to either Windows 2000 or Windows XP hosts.

The funny thing is, when I connect to ftp.smartftp.com, the command IS honored.

Here's my config:

+- System -----------------------------



Microsoft Windows XP Professional 



Service Pack 2 (Build 2600)







CPU Speed         : 1398 MHz



Total Memory      : 1047784 KB



Free Memory       :  526828 KB







+- SmartFTP ---------------------------



Version           : 1.5.988.50



Time Stamp        : 2005-07-31 04:38:05







+- Application DLL --------------------



Controls.dll      : 1.6.988.50



sfFTPLib.dll      : 1.5.3.2



SmartHook.dll     : 1.0.2.1







+- Language ---------------------------



SmartFTP.exe      : 1.5.988.50







+- System DLL -------------------------



unicows.dll       : 1.0.4018.0



shell32.dll       : 6.00.2900.2620 (xpsp_sp2_gdr.050225-1820)



shlwapi.dll       : 6.00.2900.2668 (xpsp_sp2_gdr.050430-1553)



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

Here's the log:

    SmartFTP v1.5.988.50



    Resolving host name "myhost"



    Connecting to 12.109.201.5 Port: 21



    Connected to myhost.



220 Myhost Microsoft FTP Service (Version 5.0).



    USER username



331 Password required for username.



    PASS (hidden)



230-Welcome to the Myhost.



230 User username logged in.



    SYST



215 Windows_NT version 5.0



    TYPE I



200 Type set to I.



    REST 0



350 Restarting at 0.



    PWD



257 "/" is current directory.



    PORT 192,168,1,68,12,59



200 PORT command successful.



    LIST



150 Opening BINARY mode data connection for /bin/ls.



    94 bytes transferred. (N/A/s) (0 ms)



226 Transfer complete.

A packet sniff confirms that the command being sent to the remote host is "LIST" without the qualifiers.

Bump. Please? No one? 8O 8O

Hi, check that you don't have that site on favorites and it's set at no send -aL

It is a manually entered connection. I clear and then enter the address manually into the "Address" field, then enter the Login and Password then press ENTER in the password field to connect.

Global settings->Transfer shows

[x] Show All Files
[x] Resolve Links
[x] Force Long Format
[ ] Recursive
[ ] Complete Time
[x] Use MLSD if available

FYI, you should be able to reproduce the error by connecting to ftp.microsoft.com anonymously. I cannot make it send the -al portion of the command.

I was able to reproduce this on ftp.microsoft.com using SmartFTP 1.5.990.7. It seems for IIS, SmartFTP omits these flags even when specified, which makes kind of sense because both flags refer to Unix servers and have no effect on Windows (hidden files do not start with a dot in Windows, but have an attribute set, and there are no soft links under Windows).

So the question is: Why would you want to specify these for a Windows FTP server?

Actually, the "-a" parameter works great on an IIS server. Try it yourself from a command prompt (the built in FTP client.) The command "ls -al" reveals hidden files and folders.

I also know it used to work with SmartFTP, but I honestly can't tell you when it stopped working.

You are right. For some reasons I can't remember we disabled the LIST arguments on ftp servers identifying itself as Windows_NT.

This has been changed now in the latest beta version:
https://www.smartftp.com/download

Thanks for reporting.
-Mat

Hey!!!

You betcha. Thanks for the fix! Wahoo!

I've got a similar problem. I'm using the latest beta version of SmartFTP and I'm running WinXP (SP2). The server is running Linux and PureFTPd.
I've tried several different combinations, but I still can't get the -a option to work, so I can't see hidden files.

Anyone know how to fix this, please?

Hm, so no one has any idea why I can't see hidden files with the -a option enabled?

I'm using version 1.5.990 and have also tried the beta version 23.10.2005 12:23:25. Just like the other people here, I can't see hidden files on some servers. I'm only connection to Linux servers I think. I am going to post the logs in the hope that this problem will be fixed. By looking at the logs, it seems that SmartFTP does not send the -a parameter in the second case, even though it's selected in the settings.

On this server it works:

SmartFTP v1.5.990.28
Resolving host name "xxx"
Connecting to xxx Port: 21
Connected to xxx.
220 ProFTPD 1.2.10 Server (Main FTP Server) [xxx]
USER xxx
331 Password required for xxx.
PASS (hidden)
230 User xxx logged in.
SYST
215 UNIX Type: L8
FEAT
211-Features:
MDTM
REST STREAM
SIZE
211 End
PWD
257 "/" is current directory.
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (xxx).
Opening data connection to xxx Port: 2023
LIST -laL
150 Opening ASCII mode data connection for file list
1031 bytes transferred. (21,4 KB/s) (47 ms)
226 Transfer complete.

On this server it doesn't work:

SmartFTP v1.5.990.28
Resolving host name "xxx"
Connecting to xxxPort: 21
Connected to xxx.
220-FTP server ready.
220 This is a private system - No anonymous login
USER xxx
331 User xxx OK. Password required
PASS (hidden)
230-User xxx has group access to: xxx
230 OK. Current directory is /
SYST
215 UNIX Type: L8
FEAT
211-Extensions supported:
EPRT
IDLE
MDTM
SIZE
REST STREAM
MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
MLSD
TVFS
ESTP
PASV
EPSV
SPSV
ESTA
211 End.
Detected Server Software: PureFTPd
PWD
257 "/" is your current location
CWD /
250 OK. Current directory is /
PWD
257 "/" is your current location
TYPE I
200 TYPE is now 8-bit binary
PASV
227 Entering Passive Mode (xxx)
Opening data connection to xxx Port: 48270
MLSD
150 Accepted data connection
981 bytes transferred. (765 bytes/s) (00:00:01)
226-ASCII
226-Options: -l
226 9 matches total

The bug is with the PureFTPd server. I has been reported several times but I'm not sure if it has been fixed. As a workaround disable MLSD in the global settings and LIST will be used.

Regards,
-Mat

Thanks for the advice. I tried disabling MLSD in Tools -> Settings -> Transfer -> Use MLSD if available. However, the problems is still there. I have tried closing SmartFTP and opening it again, but when I connect to the site the log looks just like before and still mentions MLSD. No hidden files in sight. I tried FileZilla and it can see the hidden files just fine.

Then you need to change the MLSD setting in the favorite item.

Regards,
-Mat

Thanks, that worked! I can now see all the hidden files. I hadn't used or even found the properties window for favorites before, since I'm a new user and assumed I would right click on a favorite to get the properties. Thanks again.

Great, disabling MLSD for that favorite worked, now I can see hidden files.
Thanks!