ftp icon indicating copy to clipboard operation
ftp copied to clipboard

short response" errors from at least one FTP Server

Open dhait opened this issue 2 years ago • 0 comments

CrushFTP and some other servers, in response to a FEAT command, prefix each feature with a " ". This is giving "short response" warnings. Example (CrushFTP):

211-Extensions supported:
 AUTH TLS
 AUTH SSL
 SSCN
 PBSZ
 PROT
 CCC
 CLNT
 EPSV
 EPRT
 MDTM
 MDTM YYYYMMDDHHMMSS[+-TZ];filename
 MFMT
 SIZE
 REST STREAM
 MODE Z
 LIST -Q
 SITE UTIME
 SITE MD5
 XMD5
 SITE MD5s
 SITE RANDOMACCESS
 MLST Type*;Size*;Modify*;Perm*;UNIX.owner*;UNIX.group*;
 UTF8
211 END

Might I suggest a solution could be to trim initial spaces from the FTP server response lines?

dhait avatar Aug 09 '22 19:08 dhait