Directories Not Listed When Connected to Remote Server

jbrunick

2009-12-15 19:14:16

I recently installed SmartFTP 4.0.1072.0 Pro (64bit). I am trying to use it now to connect to a third party ftp server. It seems to connect to the server just fine, but it fails to display the directories. This puzzles me since I can connect to the same ftp server using Filezilla just fine. Below is the log for both Smart FTP and Filezilla. I have removed the login name from both for security reasons.

SmartFTP Log

[indent][13:28:15] SmartFTP v4.0.1072.0
[13:28:16] Resolving host name "st.concursolutions.com"
[13:28:16] Connecting to 12.129.29.5 Port: 21
[13:28:16] Connected to st.concursolutions.com.
[13:28:16] 220-Welcome to the FTP service.
[13:28:16] 220-
[13:28:16] 220 Secure FTP Server ready.
[13:28:16] USER (hidden)
[13:28:16] 331 Password required for (hidden).
[13:28:16] PASS (hidden)
[13:28:16] 230 Virtual user (hidden) logged in.
[13:28:16] SYST
[13:28:17] 215 UNIX Type: L8
[13:28:17] Detected Server Type: UNIX
[13:28:17] RTT: 46.984 ms
[13:28:17] FEAT
[13:28:17] 211-Extensions supported
[13:28:17] AUTH
[13:28:17] USER
[13:28:17] PASS
[13:28:17] QUIT
[13:28:17] PORT
[13:28:17] PASV
[13:28:17] EPSV
[13:28:17] TYPE
[13:28:17] STRU
[13:28:17] MODE
[13:28:17] RETR
[13:28:17] STOR
[13:28:17] ABOR
[13:28:17] DELE
[13:28:17] CWD
[13:28:17] XCWD
[13:28:17] LIST
[13:28:17] NLST
[13:28:17] SITE
[13:28:17] SYST
[13:28:17] STAT
[13:28:17] HELP
[13:28:17] NOOP
[13:28:17] MKD
[13:28:17] XMKD
[13:28:17] RMD
[13:28:17] XRMD
[13:28:17] PWD
[13:28:17] XPWD
[13:28:17] CDUP
[13:28:17] XCUP
[13:28:17] SIZE
[13:28:17] MDTM
[13:28:17] RNFR
[13:28:17] RNTO
[13:28:17] REST
[13:28:17] FEAT
[13:28:17] ADAT
[13:28:17] PROT
[13:28:17] PBSZ
[13:28:17] APPE
[13:28:17] XCRC
[13:28:17] CCC
[13:28:17] COMB
[13:28:17] UTF8
[13:28:17] 211 END
[13:28:17] Detected Server Software: Serv-U 4.x
[13:28:17] OPTS UTF8 ON
[13:28:17] 500 'OPTS UTF8 ON': command not understood.
[13:28:17] PWD
[13:28:18] 257 "/" is current directory.
[13:28:18] TYPE A
[13:28:18] 200 Type set to A.
[13:28:18] PASV
[13:28:18] 227 Entering Passive Mode (12,129,29,5,255,210)
[13:28:18] Opening data connection to 12.129.29.5 Port: 65490
[13:28:18] LIST -aLT
[13:28:18] 150 Opening ASCII mode data connection for file list.
[13:28:18] 403 bytes transferred. (4.23 KB/s) (93 ms)
[13:28:18] 226 Transfer complete.
[/indent]

FileZilla Log

[indent]Status: Resolving address of st.concursolutions.com
Status: Connecting to 12.129.29.5:21...
Status: Connection established, waiting for welcome message...
Response: 220-Welcome to the FTP service.
Response: 220-
Response: 220 Secure FTP Server ready.
Command: USER (hidden)
Response: 331 Password required for (hidden).
Command: PASS ********
Response: 230 Virtual user (hidden) logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Extensions supported
Response: AUTH
Response: USER
Response: PASS
Response: QUIT
Response: PORT
Response: PASV
Response: EPSV
Response: TYPE
Response: STRU
Response: MODE
Response: RETR
Response: STOR
Response: ABOR
Response: DELE
Response: CWD
Response: XCWD
Response: LIST
Response: NLST
Response: SITE
Response: SYST
Response: STAT
Response: HELP
Response: NOOP
Response: MKD
Response: XMKD
Response: RMD
Response: XRMD
Response: PWD
Response: XPWD
Response: CDUP
Response: XCUP
Response: SIZE
Response: MDTM
Response: RNFR
Response: RNTO
Response: REST
Response: FEAT
Response: ADAT
Response: PROT
Response: PBSZ
Response: APPE
Response: XCRC
Response: CCC
Response: COMB
Response: UTF8
Response: 211 END
Command: OPTS UTF8 ON
Response: 500 'OPTS UTF8 ON': command not understood.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (12,129,29,5,255,165)
Command: LIST
Response: 150 Opening BINARY mode data connection for file list.
Response: 226 Transfer complete.
Status: Calculating timezone offset of server...
Command: MDTM SPX CTE.asc
Response: 213 20090813084528
Status: Timezone offsets: Server: 0 seconds. Local: -18000 seconds. Difference: -18000 seconds.
Status: Directory listing successful[/indent]

I noticed that Filezilla passes a TYPE I command, where SmartFTP passes TYPE A. i am unsure why this is or how to force it to use Binary. The LIST command is different as well. If any one can help me resolve the issue of not seeing the directories or files, it would be greatly appreciated.

Thanks,
John

mb

2009-12-15 19:15:35

Right-click on the folder then select "Show Raw Listing" from the context menu and post the listing here or send it to support@smartftp.com

The problem might be with the directory listing options:
[13:28:18] LIST -aLT

Thanks

jbrunick

2009-12-15 19:53:01


Right-click on the folder then select "Show Raw Listing" from the context menu and post the listing here or send it to support@smartftp.com

The problem might be with the directory listing options:
[13:28:18] LIST -aLT

Thanks

Sorry, I meant to do that from the start. Below is the output of the Raw Listing:
[indent]
total 0
LS options and usage:

ls [-AFRadfln|-N]

-A do not list . and .. entries;

-N lists only path names;

-F classify entry names by their types;

-R list recursively one level deeper;

-a don't hide . entry;

-d list directories only and do not resolve symlinks;

-f do not sort output;

-l long listing (assumed by default);

-n show numeric UID and GID columns.

[/indent]

mb

2009-12-15 22:14:48

Please try it again with the latest beta version:
https://www.smartftp.com/upload/x64/SFTPMSI.exe

Regards,
Mat

jbrunick

2009-12-16 15:29:31

Installed latest beta per your link and tried to access FTP again. I still get the same results. Please see latest log below.

Log

[size="3"][size="2"][10:21:22] SmartFTP v4.0.1077.0
[10:21:23] Resolving host name "st.concursolutions.com"
[10:21:29] Connecting to 12.129.29.5 Port: 21
[10:21:29] Connected to st.concursolutions.com.

[10:21:29] 220-Welcome to the FTP service.
[10:21:29] 220-
[10:21:29] 220 Secure FTP Server ready.

[10:21:29] USER
[10:21:29] 331 Password required for .
[10:21:29] PASS (hidden)

[10:21:30] 230 Virtual user logged in.

[10:21:30] SYST

[10:21:30] 215 UNIX Type: L8

[10:21:30] Detected Server Type: UNIX
[10:21:30] RTT: 47.399 ms

[10:21:30] FEAT

[10:21:30] 211-Extensions supported
[10:21:30] AUTH
[10:21:30] USER
[10:21:30] PASS
[10:21:30] QUIT
[10:21:30] PORT
[10:21:30] PASV
[10:21:30] EPSV
[10:21:30] TYPE
[10:21:30] STRU
[10:21:30] MODE
[10:21:30] RETR
[10:21:30] STOR
[10:21:30] ABOR
[10:21:30] DELE
[10:21:30] CWD
[10:21:30] XCWD
[10:21:30] LIST
[10:21:30] NLST
[10:21:30] SITE
[10:21:30] SYST
[10:21:30] STAT
[10:21:30] HELP
[10:21:30] NOOP
[10:21:30] MKD
[10:21:30] XMKD
[10:21:30] RMD
[10:21:30] XRMD
[10:21:30] PWD
[10:21:30] XPWD
[10:21:30] CDUP
[10:21:30] XCUP
[10:21:30] SIZE
[10:21:30] MDTM
[10:21:30] RNFR
[10:21:30] RNTO
[10:21:30] REST
[10:21:30] FEAT
[10:21:30] ADAT
[10:21:30] PROT
[10:21:30] PBSZ
[10:21:30] APPE
[10:21:30] XCRC
[10:21:30] CCC
[10:21:30] COMB
[10:21:30] UTF8
[10:21:30] 211 END

[10:21:30] Detected Server Software: Serv-U 4.x

[10:21:30] OPTS UTF8 ON

[10:21:30] 500 'OPTS UTF8 ON': command not understood.

[10:21:30] PWD

[10:21:30] 257 "/" is current directory.

[10:21:30] TYPE A

[10:21:30] 200 Type set to A.

[10:21:30] PASV

[10:21:30] 227 Entering Passive Mode (12,129,29,5,255,152)

[10:21:30] Opening data connection to 12.129.29.5 Port: 65432

[10:21:30] LIST -aL

[10:21:30] 150 Opening ASCII mode data connection for file list.

[10:21:30] 403 bytes transferred. (4.23 KB/s) (93 ms)

[10:21:31] 226 Transfer complete.
[/size][/size]

jbrunick

2009-12-16 15:42:15

I believe I got it working. After installing the latest beta I unchecked the resolve links option and reconnected. I did that same thing in the previous version, but it didn't work. Below is the log of the succesful run for your reference.

[10:31:32] SmartFTP v4.0.1077.0
[10:31:32] Resolving host name "st.concursolutions.com"
[10:31:32] Connecting to 12.129.29.5 Port: 21
[10:31:32] Connected to st.concursolutions.com.
[10:31:32] 220-Welcome to the FTP service.
[10:31:33] 220-
[10:31:33] 220 Secure FTP Server ready.
[10:31:33] USER [10:31:33] 331 Password required for .
[10:31:33] PASS (hidden)
[10:31:33] 230 Virtual user logged in.
[10:31:33] SYST
[10:31:34] 215 UNIX Type: L8
[10:31:34] Detected Server Type: UNIX
[10:31:34] RTT: 46.849 ms
[10:31:34] FEAT
[10:31:34] 211-Extensions supported
[10:31:34] AUTH
[10:31:34] USER
[10:31:34] PASS
[10:31:34] QUIT
[10:31:34] PORT
[10:31:34] PASV
[10:31:34] EPSV
[10:31:34] TYPE
[10:31:34] STRU
[10:31:34] MODE
[10:31:34] RETR
[10:31:34] STOR
[10:31:34] ABOR
[10:31:34] DELE
[10:31:34] CWD
[10:31:34] XCWD
[10:31:34] LIST
[10:31:34] NLST
[10:31:34] SITE
[10:31:34] SYST
[10:31:34] STAT
[10:31:34] HELP
[10:31:34] NOOP
[10:31:34] MKD
[10:31:34] XMKD
[10:31:34] RMD
[10:31:34] XRMD
[10:31:34] PWD
[10:31:34] XPWD
[10:31:34] CDUP
[10:31:34] XCUP
[10:31:34] SIZE
[10:31:34] MDTM
[10:31:34] RNFR
[10:31:34] RNTO
[10:31:34] REST
[10:31:34] FEAT
[10:31:34] ADAT
[10:31:34] PROT
[10:31:34] PBSZ
[10:31:34] APPE
[10:31:34] XCRC
[10:31:34] CCC
[10:31:34] COMB
[10:31:34] UTF8
[10:31:34] 211 END
[10:31:34] Detected Server Software: Serv-U 4.x
[10:31:34] OPTS UTF8 ON
[10:31:34] 500 'OPTS UTF8 ON': command not understood.
[10:31:34] PWD
[10:31:34] 257 "/" is current directory.
[10:31:34] TYPE A
[10:31:34] 200 Type set to A.
[10:31:34] PASV
[10:31:34] 227 Entering Passive Mode (12,129,29,5,255,153)
[10:31:34] Opening data connection to 12.129.29.5 Port: 65433
[10:31:34] LIST -a
[10:31:37] 150 Opening ASCII mode data connection for file list.
[10:31:37] 296 bytes transferred. (1.85 KB/s) (156 ms)
[10:31:37] 226 Transfer complete.
[10:31:37] MDTM SPX CTE.asc
[10:31:37] 213 20090813084528
[10:31:37] Time zone offset: 0 seconds (0.0 hours)
[10:31:51] PASV
[10:31:51] 227 Entering Passive Mode (12,129,29,5,255,154)
[10:31:51] Opening data connection to 12.129.29.5 Port: 65434
[10:31:51] LIST -a
[10:31:51] 150 Opening ASCII mode data connection for file list.
[10:31:51] 296 bytes transferred. (3.10 KB/s) (93 ms)
[10:31:51] 226 Transfer complete.