Archived Forum Post

Index of archived forum posts

Question:

ftp Connect using AUTH TLS gets 404 error code

May 19 '17 at 00:36

Using Chilkat library connecting to a secured server using Explicit SSL connection gives error 404. AUTH TLS command not getting proper response. Please see the error message of the lastErrorMessage(). What could be the reason?

Connect_Ftp2:

DllDate: Dec 27 2016

ChilkatVersion: 9.5.0.65

UnlockPrefix: xxxxxx8

Architecture: Little Endian; 32-bit

Language: Visual C++ 2015 (32-bit)

VerboseLogging: 0

ProgressMonitoring:

  enabled: no

  heartbeatMs: 0

  sendBufferSize: 65536

--ProgressMonitoring

ImplicitSsl: 0

AuthTls: 1

AuthSsl: 0

ftpConnect:

  Hostname: xxxx.xxx.xxx.nl

  Port: 21

  IdleTimeoutMs: 60000

  socketOptions:

    SO_SNDBUF: 262144

    SO_RCVBUF: 4194304

    TCP_NODELAY: 1

    SO_KEEPALIVE: 1

  --socketOptions

  readCommandResponse:

    replyLineQP: 220 FTP Server ready.

  --readCommandResponse

  initialStatus: 220

  initialResponse: 220 FTP Server ready.

  converting to secure connection...

  authTls:

    simpleCommand:

      sendCommand:

        sendingCommand: AUTH TLS

      -404:

Answer

I've never seen such an error. I would need to test against that particular server. (It wouldn't require a login, just being able to connect to the IP is all that is necessary..)


Answer

Sorry for the delay to reply. The issue occurs at our customer site. So we are getting permission and more info from the customer. Please see the details below

FTP server ftp.highiq.nl Linux, proftpd Remote system = UNIX Type: L8 File transfer protocol = FTP Cryptographic protocol = TLS/SSL Explicit encryption, TLSv1 Encryption algorithm = TLSv1/SSLv3: DHE-RSA-AES256-SHA, 2048 bit RSA, DHE-RSA-AES256-SHA SSLv3 Kx=DH Au=RSA Enc=AES(256) Mac=SHA1

Compression = No


Can change permissions = Yes Can change owner/group = No Can execute arbitrary command = Protocol commands only Can create symbolic/hard link = No/No Can lookup user groups = No Can duplicate remote files = No Can check available space = No Can calculate file checksum = No Native text (ASCII) mode transfers = No


Additional information The server supports these FTP additional features: MDTM MFMT LANG zh-TW;fr-FR;it-IT;ru-RU;bg-BG;en-US;zh-CN;ja-JP;ko-KR TVFS UTF8 AUTH TLS MFF modify;UNIX.group;UNIX.mode; MLST modify;perm;size;type;unique;UNIX.group;UNIX.mode;UNIX.owner; PBSZ PROT REST STREAM SIZE