Archived Forum Post

Index of archived forum posts

Question:

Problem with handling 553 errors using FTP2

May 20 '15 at 07:17

I've got an issue with the handling of .htaccess files on Yahoo hostings FTP servers. The FTP server responds with 553 Prohibited file name: .htaccess which is not handled by the Chilkat library and eventually the upload times out. Is there any way I can handle that error message better?

PutFile:
    DllDate: Jan 21 2015
    ChilkatVersion: 9.5.0.47
    UnlockPrefix: 3D3COMFTP
    Username: xxxx
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 6.0
    VerboseLogging: 0
    LocalFilename: C:\Users\xxx\AppData\Local\Temp\SFFF87.tmp
    RemoteFilename: .htaccess
    ProgressMonitoring:
      enabled: no
      heartbeatMs: 0
      sendBufferSize: 65536
    --ProgressMonitoring
    IdleTimeoutMs: 60000
    ReceiveTimeoutMs: 60000
    ConnectTimeoutSeconds: 8
    uploadFromLocalFile:
      localFileSize: 80
      uploadFromDataSource:
        initialGreeting: 220-Welcome to the Yahoo! Web Hosting FTP server
220-Need help? Get all details at:
220-http://help.yahoo.com/help/us/webhosting/gftp/
220- 
220-No anonymous logins accepted.
220-Yahoo!
220-Local time is now 20:16. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 5 minutes of inactivity.
        restartNext: 0
        modeZ: 0
        binaryMode: 1
        pbsz_protp:
          sendCommand:
            sendingCommand: PBSZ 0
          --sendCommand
          readCommandResponse:
            replyLineQP: 200 PBSZ=3D0
            commandResponse: 200 PBSZ=0
            statusCode: 200
          --readCommandResponse
          sendCommand:
            sendingCommand: PROT P
          --sendCommand
          readCommandResponse:
            replyLineQP: 200 Data protection level set to "private"
            commandResponse: 200 Data protection level set to "private"
            statusCode: 200
          --readCommandResponse
        --pbsz_protp
        setupDataConnection:
          passive transfer mode
          setupPassiveDataSocket:
            sendCommand:
              sendingCommand: PASV
            --sendCommand
            readCommandResponse:
              replyLineQP: 227 Entering Passive Mode (98,138,19,28,252,140)
              commandResponse: 227 Entering Passive Mode (98,138,19,28,252,140)
              statusCode: 227
            --readCommandResponse
            dataConnect:
              hostname: 98.138.19.28
              port: 64652
              socketOptions:
                SO_SNDBUF: 8192
                SO_RCVBUF: 8192
                TCP_NODELAY: 0
              --socketOptions
              dataConnectSuccess: 1
            --dataConnect
          --setupPassiveDataSocket
        --setupDataConnection
        sendUploadCommand:
          sendCommand:
            sendingCommand: STOR .htaccess
          --sendCommand
        --sendUploadCommand
        convertDataConnToSsl:
          ConvertToTls: Elapsed time: 60013 millisec
          Failed to convert data connection to TLS
        --convertDataConnToSsl
        Failed to complete data connection.
      --uploadFromDataSource
      Failed.
    --uploadFromLocalFile
    TotalTime: Elapsed time: 61262 millisec
    Failed.
  --PutFile
--ChilkatLog

Answer

Try this very latest build for Visual C++ 6.0

http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-x86-vc6.zip

If the problem remains, please post the LastErrorText for this new build.