Jump to content


Photo

Problem with "Auto" codepage setting.


  • Please log in to reply
7 replies to this topic

#1 burghman

burghman
  • Members
  • 3 posts

Posted 29 March 2008 - 03:15 AM

The ftpd is CrushFTP4 and it is configured for UTF-8. Output of the FEAT command confirms this (see below). When the codepage setting for this account in SmartFTP (v2.5 & 3.0) is configured to "Auto", special characters are displayed properly, but I cannot navigate into a directory containing a special character nor can I download a file containing a special character. When the codepage is manually set to UTF8, all is well.

It seems that the "Auto" setting is not working properly.


Response to FEAT is:
[19:46:27] 211-Extensions supported:
[19:46:27] AUTH TLS
[19:46:27] AUTH SSL
[19:46:27] SSCN
[19:46:27] PBSZ
[19:46:27] PROT
[19:46:27] CLNT
[19:46:27] EPSV
[19:46:27] EPRT
[19:46:27] MDTM
[19:46:27] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[19:46:27] SIZE
[19:46:27] REST STREAM
[19:46:27] MODE Z
[19:46:27] LIST -Q
[19:46:27] UTF-8 <-------------- UTF-8 is supported
[19:46:27] 211 END

#2 mb

mb

    Developer

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

Posted 29 March 2008 - 03:57 AM

Post the complete log.

#3 burghman

burghman
  • Members
  • 3 posts

Posted 29 March 2008 - 04:48 AM

Post the complete log.


Here are two sanitized log files, one with the code page set to Auto and the other set to UTF8. I select directory "Test dir üü" to the DL queue, but SmartFTP is unable to cd into it to get the files. You will see that this works correctly when the code page is set to UTF8.

[2008-03-28T21:18:16] Log opened
[2008-03-28T21:18:16] Initializing. Transfer Queue v1.0.3.22.
[2008-03-28T21:18:16] Resolving host name "xxxxx.ftpaccess.cc"
[2008-03-28T21:18:16] Connecting to 99.999.999.999 Port: 21
[2008-03-28T21:18:16] Connected to xxxxx.ftpaccess.cc.
[2008-03-28T21:18:16] 220-Welcome to CrushFTP4!
[2008-03-28T21:18:16] 220 CrushFTP Server Ready.
[2008-03-28T21:18:16] USER burghman
[2008-03-28T21:18:16] 331 Username OK. Need password.
[2008-03-28T21:18:16] PASS (hidden)
[2008-03-28T21:18:16] 230 Password OK. Connected.
[2008-03-28T21:18:16] SYST
[2008-03-28T21:18:17] 215 UNIX Type: L8
[2008-03-28T21:18:17] Detected Server Type: UNIX
[2008-03-28T21:18:17] FEAT
[2008-03-28T21:18:17] 211-Extensions supported:
[2008-03-28T21:18:17] AUTH TLS
[2008-03-28T21:18:17] AUTH SSL
[2008-03-28T21:18:17] SSCN
[2008-03-28T21:18:17] PBSZ
[2008-03-28T21:18:17] PROT
[2008-03-28T21:18:17] CLNT
[2008-03-28T21:18:17] EPSV
[2008-03-28T21:18:17] EPRT
[2008-03-28T21:18:17] MDTM
[2008-03-28T21:18:17] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[2008-03-28T21:18:17] SIZE
[2008-03-28T21:18:17] REST STREAM
[2008-03-28T21:18:17] MODE Z
[2008-03-28T21:18:17] LIST -Q
[2008-03-28T21:18:17] UTF-8
[2008-03-28T21:18:17] 211 END
[2008-03-28T21:18:17] CLNT SmartFTP 3.0.1010
[2008-03-28T21:18:17] 200 Noted.
[2008-03-28T21:18:17] PWD
[2008-03-28T21:18:17] 257 "/" PWD command successful.
[2008-03-28T21:18:17] CWD /Download/Test dir üü
[2008-03-28T21:18:18] 550 Access not allowed.
[2008-03-28T21:18:18] Log closed
[2008-03-28T21:18:48] Log opened
[2008-03-28T21:18:48] Initializing. Transfer Queue v1.0.3.22.
[2008-03-28T21:18:48] CWD /Download/Test dir üü
[2008-03-28T21:18:48] 550 Access not allowed.
[2008-03-28T21:18:48] Log closed

WITH CODEPAGE SET TO UTF8:

[2008-03-28T21:41:24] Log opened
[2008-03-28T21:41:24] Initializing. Transfer Queue v1.0.3.22.
[2008-03-28T21:41:24] Resolving host name "xxxxx.ftpaccess.cc"
[2008-03-28T21:41:24] Connecting to 99.999.999.999 Port: 21
[2008-03-28T21:41:24] Connected to xxxxx.ftpaccess.cc.
[2008-03-28T21:41:24] 220-Welcome to CrushFTP4!
[2008-03-28T21:41:24] 220 CrushFTP Server Ready.
[2008-03-28T21:41:24] USER burghman
[2008-03-28T21:41:24] 331 Username OK. Need password.
[2008-03-28T21:41:24] PASS (hidden)
[2008-03-28T21:41:24] 230 Password OK. Connected.
[2008-03-28T21:41:24] SYST
[2008-03-28T21:41:25] 215 UNIX Type: L8
[2008-03-28T21:41:25] Detected Server Type: UNIX
[2008-03-28T21:41:25] FEAT
[2008-03-28T21:41:25] 211-Extensions supported:
[2008-03-28T21:41:25] AUTH TLS
[2008-03-28T21:41:25] AUTH SSL
[2008-03-28T21:41:25] SSCN
[2008-03-28T21:41:25] PBSZ
[2008-03-28T21:41:25] PROT
[2008-03-28T21:41:25] CLNT
[2008-03-28T21:41:25] EPSV
[2008-03-28T21:41:25] EPRT
[2008-03-28T21:41:25] MDTM
[2008-03-28T21:41:25] MDTM YYYYMMDDHHMMSS[+-TZ];filename
[2008-03-28T21:41:25] SIZE
[2008-03-28T21:41:25] REST STREAM
[2008-03-28T21:41:25] MODE Z
[2008-03-28T21:41:25] LIST -Q
[2008-03-28T21:41:25] UTF-8
[2008-03-28T21:41:25] 211 END
[2008-03-28T21:41:25] CLNT SmartFTP 3.0.1010
[2008-03-28T21:41:25] 200 Noted.
[2008-03-28T21:41:25] PWD
[2008-03-28T21:41:26] 257 "/" PWD command successful.
[2008-03-28T21:41:26] CWD /Download/Test dir üü
[2008-03-28T21:41:26] 250 "/Download/Test dir üü/" CWD command successful.
[2008-03-28T21:41:26] PWD
[2008-03-28T21:41:26] 257 "/Download/Test dir üü/" PWD command successful.
[2008-03-28T21:41:26] TYPE A
[2008-03-28T21:41:26] 200 Command ok : ASCII type selected.
[2008-03-28T21:41:26] MODE Z
[2008-03-28T21:41:26] 200 MODE Z ok
[2008-03-28T21:41:26] PASV
[2008-03-28T21:41:27] 227 Entering Passive Mode (99,999,999,999,15,162)
[2008-03-28T21:41:27] Opening data connection to 99.999.999.999 Port: 4002
[2008-03-28T21:41:27] LIST -aL
[2008-03-28T21:41:27] 150 Opening data connection for file list.
[2008-03-28T21:41:27] 554 bytes transferred. (2.04 KB/s) (265 ms)
[2008-03-28T21:41:27] 226 Directory transfer complete.
[2008-03-28T21:41:27] Sorting 28 items.
[2008-03-28T21:41:27] Sort Time = 0s.
[2008-03-28T21:41:27] Log closed

#4 mb

mb

    Developer

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

Posted 29 March 2008 - 04:50 AM

The UTF-8 announcement in the FEAT reply should be UTF8 and not UTF-8.
Contact the CrushFTP developer regarding this issue. He can easily fix it.

Regards,
Mat

#5 mb

mb

    Developer

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

Posted 29 March 2008 - 04:52 AM

If you can get the email of the developer I will contact him myself. I have other recommendations for him.

#6 burghman

burghman
  • Members
  • 3 posts

Posted 29 March 2008 - 05:37 AM

If you can get the email of the developer I will contact him myself. I have other recommendations for him.


Thank you for the quick reply!

CrushFTPD Contact Info

#7 mb

mb

    Developer

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

Posted 31 March 2008 - 04:05 AM

Hello ..

Ben from CrushFTP agreed to change the UTF-8 string in the FEAT reply to UTF8. The latest version of SmartFTP now also checks for UTF-8 in the FEAT reply and sends the OPTS UTF8 ON command. But since the CrushFTP probably expects OPTS UTF-8 ON this won't work. But please give it a try and post the new log.

Thank you
Regards,
Mat

#8 mb

mb

    Developer

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

Posted 01 April 2008 - 05:03 AM

Ben just notified me that he implemented the changes in the latest version:
http://www.crushftp.com/download.html

Regards,
Mat




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users