Old 06-26-2002, 02:18 AM   #1
WhoCares
Junior Member
 
Join Date: Apr 2002
Posts: 4
Default error parsing directory listing

When I use 2.0 RC1 build 860 to connect to a Solaris ftp server, the file name of directory list is incorrect. Some file names contain date/time strings. See the attached image.

SunOS sun27 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-5_10
Attached Thumbnails
error parsing directory listing-list-jpg  
WhoCares is offline  
Old 06-26-2002, 02:55 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I don't think we've ever encountered a SunOS FTP server, it would appear that our parser is not compatible.

If you can provide me with a copy of the raw directory listing, this can be obtained via the main menu, Tools > View Raw Directory. To preserve the text formatting it would be best to save it to a text file.

Also if you could provide me with the reply to the SYST command which occures during logon.

Thanks
bigstar is offline  
Old 06-26-2002, 03:33 AM   #3
squonk
Member
FlashFXP Registered User
 
Join Date: Oct 2001
Posts: 30
Default

It's working OK for me.
I often connect with Sun OS FTPs.
One of them is in release :
SunOS XXXXX 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-1
squonk is offline  
Old 06-26-2002, 08:30 PM   #4
WhoCares
Junior Member
 
Join Date: Apr 2002
Posts: 4
Default

OK. Here is the data. It seems that the Chinese version of SunOS list command produces date/time string with some spaces. Thx for your attention and hard work.
Code:
×ÜÊý1936
drwxr-xr-x  10 root     other        512 2000   5ÔÂ 23 .
drwxrwxr-x   8 root     sys          512 2000   6ÔÂ  3 ..
-rw-------   1 root     other       3040  4ÔÂ 24 22:09 Base64Class.C
-rw-------   1 root     other        226  4ÔÂ 24 20:58 Base64Class.hpp
drwx------   3 root     other        512  5ÔÂ 20 18:35 GetInfo
-rw-r--r--   1 root     other        170  4ÔÂ 30 15:54 Makefile
drwxr-xr-x   2 root     other        512 2000   5ÔÂ 24 RuleParse
-rw-r--r--   1 root     other        113  4ÔÂ 24 22:12 RuleParse.C
drwxr-xr-x   2 root     other        512  4ÔÂ 15 16:16 bin
drwxr-xr-x   3 root     other        512 2000   5ÔÂ 27 bug
drwxr-xr-x   7 guest 503          512 2000   5ÔÂ 24 expat-1.95.2
-rw-r--r--   1 root     other     880640 2001   7ÔÂ 27 expat-1.95.2.tar
-rw-------   1 root     other      28438  4ÔÂ 15 16:02 expat.h
drwxr-xr-x   2 root     other        512  4ÔÂ 15 16:16 include
drwxr-xr-x   2 root     other        512  4ÔÂ 15 16:16 lib
lrwxrwxrwx   1 root     other         17  4ÔÂ 24 22:18 libexpat.so.0 -> lib/libexpat.so.0
-rw-------   1 root     other      39988  4ÔÂ 24 21:12 object.C
-rw-------   1 root     other      11256  4ÔÂ 24 22:04 object.hpp
drwxr-xr-x   3 root     other       1024 2000   5ÔÂ 27 test
Code:
[09:22:17] WinSock 2.0
[09:22:39] Connecting to 192.168.5.209
[09:22:39] Connected to 192.168.5.209 Port 21
[09:22:39] 220 sun27 FTP server (Testing System) ready.
[09:22:39] USER root
[09:22:39] 331 Password required for root.
[09:22:39] PASS (hidden)
[09:22:39] 230 User root logged in.
[09:22:39] SYST
[09:22:39] 215 UNIX Type: L8 Version: SUNOS
[09:22:39] REST 100
[09:22:39] 502 REST command not implemented.
WhoCares is offline  
Old 06-26-2002, 09:01 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I've made a few changes that should correctly parse this format, please contact me at support@flashfxp.com and I'll email you a test copy.
bigstar is offline  
Old 06-26-2002, 11:45 PM   #6
WhoCares
Junior Member
 
Join Date: Apr 2002
Posts: 4
Default

mail sent
WhoCares is offline  
 

Tags
date/time, directory, file, names, strings

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP-servers vek General Discussion 1 02-04-2005 08:03 PM


All times are GMT -5. The time now is 09:44 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)