Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10.4k views
in .NET FTP by (162k points)
A user writes:

Hi,

I have just downloaded the latest edtFTPNET and when l connect to a server
running solaris 9 or 10 l cannot get a file listing.

We also have tested successfully on a Linux and Unix

Any Help?



First thing (for anyone with a file listing problem) - post the log file and the stack trace. Also helpful to post is a file listing obtained by logging into the FTP server via the command line and typing "dir".

14 Answers

0 votes
by (162k points)
More info:

When we do a file listing on the solaris the results is that FTP reports
there are no files in that directory, but we know there are.


What does Dir() return? Does the command line FTP client return no data also?
0 votes
by
We have tested many other FTP programs including the command line and we see files in the directory.
0 votes
by
Using FTP via the command line - Windows XP

ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for /bin/ls.
total 2
--rw-r--r-- 1 rt1 other 15 May 31 12:51 testfile
226 Transfer complete.
ftp: 73 bytes received in 0.00Seconds 73000.00Kbytes/sec.
0 votes
by (162k points)
Ok, please post the log file & we'll take a look

Using FTP via the command line - Windows XP

ftp> dir
200 PORT command successful
150 Opening ASCII mode data connection for /bin/ls.
total 2
--rw-r--r-- 1 rt1 other 15 May 31 12:51 testfile
226 Transfer complete.
ftp: 73 bytes received in 0.00Seconds 73000.00Kbytes/sec.
0 votes
by (162k points)
I've just tested against Solaris 8 with no problems (listing the contents of a dir containing one entry).

We don't currently have access to a Solaris 9 machine - if you can point us to a public FTP server running Solaris 9 we can test against it.
0 votes
by
I dont know of a public ftp site running 9 or 10. On the SUN site you can download Solaris 10 for free, that's what we did.
0 votes
by (162k points)
If you post your log file with the log level set to DEBUG we may be able to figure out what the problem is.

I dont know of a public ftp site running 9 or 10. On the SUN site you can download Solaris 10 for free, that's what we did.
0 votes
by
Log Below.

DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 7 Jun 2005 09:38:05.369 : Connecting to 10.50.100.106:21
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:05.860 : 220 unknown FTP server ready.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:05.860 : ---> USER rt1
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:05.880 : 331 Password required for rt1.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:05.880 : ---> PASS ********
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:05.960 : 230 User rt1 logged in.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.075 : ---> SYST
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.075 : 215 UNIX Type: L8 Version: SUNOS
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.085 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.085 : 227 Entering Passive Mode (10,50,100,106,167,87)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.085 : ---> LIST /
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.095 : 150 Opening ASCII mode data connection for /bin/ls.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.215 : 226 Transfer complete.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.586 : ---> CWD /
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:09.586 : 250 CWD command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.600 : ---> SYST
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.600 : 215 UNIX Type: L8 Version: SUNOS
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.600 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.600 : 227 Entering Passive Mode (10,50,100,106,220,151)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.600 : ---> LIST /usr/home/rt1
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 7 Jun 2005 09:38:25.620 : 150 Opening ASCII m

This is the complete Log.
0 votes
by (162k points)
Unfortunately this doesn't show the problem :(

I've compiled a new version with a bit more debug, can you try it and post the new log?

http://www.enterprisedt.com/products/ed ... -1.1.8.zip

Log Below.

....

This is the complete Log.
0 votes
by
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.090 : 215 UNIX Type: L8 Version: SUNOS
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.090 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.090 : 227 Entering Passive Mode (10,50,100,106,226,208)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.100 : ---> LIST /
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.110 : 150 Opening ASCII mode data connection for /bin/ls.
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.110 : Getting file list
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: total 262
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: -rw------- 1 root root 150 Jun 7 09:36 .TTauthority
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: -rw------- 1 root root 211 Jun 7 09:36 .Xauthority
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 12 root root 512 Jun 7 09:37 .dt
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: -rwxr-xr-x 1 root root 5111 May 30 14:38 .dtprofile
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 2 root root 512 May 30 15:47 .gconf
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 2 root root 512 May 30 15:48 .gconfd
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 2 root root 512 May 30 15:00 .gnome
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 3 root root 512 May 30 15:00 .gnome2
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 2 root root 512 May 30 15:00 .gnome2_private
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 4 root root 512 May 30 15:00 .mozilla
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 3 root root 512 May 30 13:40 .sunw
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root root 512 May 30 14:38 TT_DB
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: lrwxrwxrwx 1 root root 9 May 30 13:21 bin -> ./usr/bin
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 1 root root 16384 Jan 1 1970 boot
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root root 512 Jun 7 15:06 cdrom
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 16 root sys 4096 Jun 7 15:05 dev
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root sys 512 Jun 7 09:33 devices
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 66 root sys 4096 Jun 7 09:34 etc
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root sys 512 May 30 13:57 export
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: dr-xr-xr-x 1 root root 1 Jun 7 09:34 home
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 16 root sys 512 May 30 14:02 kernel
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 6 root bin 3072 May 30 13:28 lib
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwx------ 2 root root 8192 May 30 13:21 lost+found
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root sys 512 May 30 13:21 mnt
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: dr-xr-xr-x 1 root root 1 Jun 7 09:34 net
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 4 root sys 512 May 30 14:03 opt
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 4 root sys 512 May 30 13:25 platform
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: dr-xr-xr-x 65 root root 63424 Jun 9 09:55 proc
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 2 root sys 1024 May 30 14:00 sbin
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 4 root root 512 May 30 13:21 system
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxrwxrwx 2 root root 512 May 30 15:21 test
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxrwxrwt 5 root sys 376 Jun 9 03:30 tmp
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 31 root sys 1024 May 30 15:09 usr
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: drwxr-xr-x 35 root sys 512 May 30 14:38 var
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.120 : Received listing line: dr-xr-xr-x 6 root root 512 Jun 7 09:34 vol
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.240 : 226 Transfer complete.
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:04.240 : Found 36 listing lines
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.480 : ---> CWD /
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:04.490 : 250 CWD command successful.
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.676 : ---> SYST
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.676 : 215 UNIX Type: L8 Version: SUNOS
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.676 : ---> PASV
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.676 : 227 Entering Passive Mode (10,50,100,106,56,177)
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.676 : ---> LIST /usr/home/rt1
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Jun 2005 09:55:12.696 : 150 Opening ASCII mode data connection for /bin/ls.
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:12.696 : Getting file list
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:12.696 : Received listing line: total 2
DEBUG [EnterpriseDT.Net.Ftp.FTPClient] 9 Jun 2005 09:55:12.696 : Received listing line: -rw-r--r-- 1 rt1 other 15 May 31 12:51 testfile
DEBUG [EnterpriseDT.Net.Ftp.FTPControlSocket] 9 Ju

Categories

...