Jump to content


Photo

MODE Z will not enable even though server supports it.


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 spinkb

spinkb
  • Members
  • 3 posts

Posted 10 March 2007 - 10:48 PM

This issue may not be a "bug" in smartFTP, but since i can't figure out why it won't enable, its a bug in my opinion.

I'm the author of CrushFTP...a full scale FTP server. I'm adding MODE Z support since FTP clients are finally supporting it well enough now. Plus no-one notified me that such an extension even existed...I just stumbled upon it. I've had zip support for years, just not with this official extension support.

Anyway, ehre is a log sample from a slient login from SmartFTP. Notice the FEAT replies that MODE Z is supported, but SmartFTP never bothers to change. I have SmartFTP set to "auto" for listings, downloads, and uploads.

What is the "trigger" event that will make SmartFTP issue the "MODE Z" command?

03/10/2007 04:43:19 PM|[FTP:2000][1] Accepting connection from: 192.168.2.1:1104
03/10/2007 04:43:19 PM|[1::192.168.2.1] READ : *USER test2*
03/10/2007 04:43:19 PM|[1::192.168.2.1] WROTE: *331 Username OK. Need password.*
03/10/2007 04:43:19 PM|[1:test2:192.168.2.1] READ : *PASS*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *230 Password OK. Connected.*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *SYST *
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *215 UNIX Type: L8*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *FEAT *
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *211-Extensions supported:*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *AUTH TLS*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *AUTH SSL*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *SSCN*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *PBSZ*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *PROT*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *CLNT*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *EPSV*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *EPRT*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *MDTM*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *MDTM YYYYMMDDHHMMSS[+-TZ];filename*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *SIZE*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *REST STREAM*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *MODE Z*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *UTF-8*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *211 END*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *TYPE I*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *200 Command ok : Binary type selected.*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *REST 0*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *PWD *
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *257 "/" PWD command successful.*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *TYPE A*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] WROTE: *200 Command ok : ASCII type selected.*
03/10/2007 04:43:20 PM|[1:test2:192.168.2.1] READ : *PASV *
03/10/2007 04:43:24 PM|[1:test2:192.168.2.1] WROTE: *227 Entering Passive Mode (192,168,2,2,204,45)*
03/10/2007 04:43:24 PM|[1:test2:192.168.2.1] READ : *LIST -aL*
03/10/2007 04:43:28 PM|[1:test2:192.168.2.1] WROTE: *150 Opening data connection for file list.*
03/10/2007 04:43:28 PM|[1:test2:192.168.2.1] WROTE: -rw-r--r-- 1 spinkb spinkb 93 Mar 2 20:59 2changes.html
03/10/2007 04:43:28 PM|[1:test2:192.168.2.1] WROTE: drwxr-xr-x 353 spinkb spinkb 12002 Mar 10 12:11 400 files to download
03/10/2007 04:43:28 PM|[1:test2:192.168.2.1] WROTE: -rw-r--r-- 1 root spinkb 309766 Mar 5 16:01 Archive.zip
03/10/2007 04:43:28 PM|[1:test2:192.168.2.1] WROTE: -rw-r--r-- 1 spinkb spinkb 1965 Feb 20 08:09 bandrew.html

Feel free to email me directly as well. ben@crushftp.com

Thanks,
Ben

#2 spinkb

spinkb
  • Members
  • 3 posts

Posted 11 March 2007 - 04:14 AM

FYI, this was the current build of SmartFTP as downloaded from the Website today on Windows XP.

#3 mb

mb

    Developer

  • Administrators
  • 11521 posts

Posted 11 March 2007 - 04:20 AM

Hello ..

Your FEAT reply seems to be wrong. There should be a space in front of each command. See the RFC at:
http://www.rfc-archi...fc.php?rfc=2389

An example of a correct reply:

C> feat
S> 211-Extensions supported:
S> <space>MLST size*;create;modify*;perm;media-type
S> <space>SIZE
S> <space>COMPRESSION
S> <space>MDTM
S> 211 END



#4 mb

mb

    Developer

  • Administrators
  • 11521 posts

Posted 11 March 2007 - 04:39 AM

Hello ...

Since we are in contact I would recommend you to implement the "MLSD" feature. You can find more information in the RFC at:
http://www.ncftp.com...doc/rfc3659.txt

XCRC, XMD5 and XSHA are other commands/features I consider as important.

At least now you can't blame anybody from not telling you ;-)

Regards,
-Mat

#5 spinkb

spinkb
  • Members
  • 3 posts

Posted 11 March 2007 - 05:02 AM

That was exactly it. Everything works perfectly now. CrushFTP 4.1 supports MODE Z with SmartFTP now.

Thanks!