Jump to content


Photo

some file names truncated in ReadDirectory


  • Please log in to reply
11 replies to this topic

#1 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 22 May 2006 - 12:51 PM

ReadDirectory listing wrong for some files with specific names on ftp server :unsure:

For example, if I have file with name "A Tree List Control - Tree Controls.mht" on ftp server, then "Directory" property will be contain FTPItem object with value "Tree List Control - Tree Controls.mht" in "Name" property (symbol A is not present). See below few situations:

"B file.txt" - wrong (will be "file.txt")
"Bfile.txt" - correct
"-B file.txt" - correct
"- file.txt" - wrong (will be "file.txt")
"-+ file.txt" - correct
"AB file.txt" - correct


Regards,
Nikolai Egipko

#2 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 22 May 2006 - 04:41 PM

Please post the raw directory listing of these directories. You can get them with the SmartFTP Client.

Thank you.
Regards,
-Mat

#3 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 22 May 2006 - 06:18 PM

Please post the raw directory listing of these directories. You can get them with the SmartFTP Client.


Below raw directory listing.
-rwx------ 1 user group		   2716 Jan 29 2004 A MultipleSelection.cpp
-rwx------ 1 user group		 149291 Jan 29 2004 A Tree List Control - Tree Controls.mht
-rwx------ 1 user group			545 May 16 2004 MemoryLeaks.cpp
-rwx------ 1 user group		   2716 Jan 29 2004 MultipleSelection.cpp
Raw listing correct, but SmartFTP itself has wrong listing in Explorer window:

Posted Image

Regards,
Nikolai

#4 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 23 May 2006 - 04:09 AM

Please post the log of your FTP session as well.

Thank you.
Regards,
SmartFTP

#5 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 23 May 2006 - 01:25 PM

Please post the log of your FTP session as well.


[16:23:29] SmartFTP v2.0.996.25
[16:23:29] Resolving host name "nikeware"
[16:23:30] Connecting to 10.21.1.89 Port: 21
[16:23:30] Connected to nikeware.
[16:23:30] 220 Welcome to Quick 'n Easy FTP Server
[16:23:30] USER Nikolaz
[16:23:30] 331 Password required for Nikolaz
[16:23:30] PASS (hidden)
[16:23:30] 230 User successfully logged in.
[16:23:30] SYST
[16:23:30] 215 UNIX emulated by Quick 'n Easy FTP Server.
[16:23:30] FEAT
[16:23:30] 211-Extensions supported
[16:23:30] SIZE
[16:23:30] MDTM
[16:23:30] XCRC
[16:23:30] 211 END
[16:23:30] TYPE I
[16:23:30] 200 Type set to BINARY
[16:23:30] REST 0
[16:23:30] 350 Restarting at 0.
[16:23:30] PWD
[16:23:30] 257 "/" is current directory.
[16:23:30] TYPE A
[16:23:30] 200 Type set to ASCII
[16:23:30] PASV
[16:23:30] 227 Entering Passive Mode (10,21,1,89,4,0)
[16:23:30] Opening data connection to 10.21.1.89 Port: 1024
[16:23:30] LIST -aL
[16:23:30] 150 Opening ASCII mode data connection for directory list.
[16:23:30] 5970 bytes transferred. (388 KB/s) (15 ms)
[16:23:30] 226 Transfer complete
[16:23:34] CWD /TreeList
[16:23:34] 250 "/TreeList" is current directory.
[16:23:34] PWD
[16:23:34] 257 "/TreeList" is current directory.
[16:23:34] PASV
[16:23:34] 227 Entering Passive Mode (10,21,1,89,4,0)
[16:23:34] Opening data connection to 10.21.1.89 Port: 1024
[16:23:34] LIST -aL
[16:23:34] 150 Opening ASCII mode data connection for directory list.
[16:23:34] 3569 bytes transferred. (217 KB/s) (16 ms)
[16:23:34] 226 Transfer complete
[16:23:38] CWD /TreeList/_Docs
[16:23:38] 250 "/TreeList/_Docs" is current directory.
[16:23:38] PWD
[16:23:38] 257 "/TreeList/_Docs" is current directory.
[16:23:38] PASV
[16:23:38] 227 Entering Passive Mode (10,21,1,89,4,0)
[16:23:38] Opening data connection to 10.21.1.89 Port: 1024
[16:23:38] LIST -aL
[16:23:38] 150 Opening ASCII mode data connection for directory list.
[16:23:38] 310 bytes transferred. (20,1 KB/s) (15 ms)
[16:23:38] 226 Transfer complete

Regards,
Nikolai

#6 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 24 May 2006 - 07:49 AM

I think the problem in SmartFTP raw directory parser engine. Yes?

Regards,
Nikolai

#7 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 24 May 2006 - 01:30 PM

Anybody home? :unsure:

Regards,
Nikolai

#8 eyebex

eyebex
  • Licensed User
  • 1860 posts
  • Gender:
    Male

Posted 24 May 2006 - 04:11 PM

If you have bought a license please enter your license ID into your forum profile and post in the "Premium Support" forum. This will give you a speed up ;-)

#9 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 24 May 2006 - 04:43 PM

Hello ..

Quick and Easy's output is not what we expect from a UNIX compliant FTP server:

Unix:
-rwx------   1 user	 group			  0 May 24  2004 A MultipleSelection.cpp
Quick and Easy:
-rwx------ 1 user group				 2716 Jan 29 2004 A MultipleSelection.cpp

You should notice the extra space after the day in the date. Please report the problem to the Quick and Easy developer.

Regards,
SmartFTP

#10 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 24 May 2006 - 07:29 PM

You should notice the extra space after the day in the date. Please report the problem to the Quick and Easy developer.


Thank you for your report, MB.

Yes, indeed. I check this situation on my web site with standard ftp server - SmartFTP work fine.
I use Quick and Easy only as local ftp server for testing of my applications :unsure:
It's not big problem for me in this situation.

+1 to SmartFTP lib :rolleyes:

Regards,
Nikolai

#11 mb

mb

    Developer

  • Administrators
  • 11521 posts
  • Gender:
    Male
  • Location:
    Worldwide

Posted 24 May 2006 - 08:42 PM

I just talked to Pablo, the developer of Quick n' Easy FTP Server. He told me he will look into it and he may consider to implement MLSD/MLST.

I will post further updates here.

Regards,
-Mat

#12 Nikeware

Nikeware
  • Members
  • 27 posts
  • Interests:
    Diff Commander - folders compare and merge tool<br />Visual Comparer - text files compare and merge tool

Posted 24 May 2006 - 09:04 PM

Wow!

+2 to SmartFTP lib :rolleyes:

p.s. I think about purchase of SmartFTP lib :unsure:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users