Quantcast
Channel: Chilkat Forum - latest questions
Viewing all articles
Browse latest Browse all 1061

ftp restart upload

$
0
0

Hi, i try to restart an upload, but is nit Working.

ftp.RestartNext = True
Await System.Threading.Tasks.Task.Run(Sub() lftp.PutFile(localPath, remoteFilename))

Here the LastErrorText:

ChilkatLog:
  PutFile:
    DllDate: Dec 27 2016
    ChilkatVersion: 9.5.0.65
    UnlockPrefix: Anything for 30-day trial
    Architecture: Little Endian; 64-bit
    Language: .NET 4.6 / x64
    VerboseLogging: 0
    Component successfully unlocked using trial key
    RemoteFilename: EA201504.zip
    LocalFilename: H:\Temp\coFtpSync\EA201504.zip
    ProgressMonitoring:
      enabled: yes
      heartbeatMs: 0
      sendBufferSize: 65536
    --ProgressMonitoring
    IdleTimeoutMs: 60000
    ReceiveTimeoutMs: 60000
    ConnectTimeoutSeconds: 30
    uploadFromLocalFile:
      localFileSize: 1061931910
      uploadFromDataSource:
        initialGreeting: 220 ProFTPD 1.3.3g Server (NETGEAR ReadyNAS) [192.168.13.13]
        restartNext: 1
        modeZ: 0
        binaryMode: 1
        sizeCmd:
          sizeCmdInner:
            simpleCommand:
              sendCommand:
                sendingCommand: SIZE EA201504.zip
              --sendCommand
              readCommandResponse:
                replyLineQP: 213 69664768
              --readCommandResponse
            --simpleCommand
          --sizeCmdInner
        --sizeCmd
        setupDataConnection:
          active transfer mode
          setupActiveDataSocket:
            Using ephemeral port range for Active data connection.
            dataPort: 51386
            portIpAddress: 192.168.13.104
            MyIPv4: 192,168,13,104,200,186
            sendCommand:
              sendingCommand: PORT 192,168,13,104,200,186
            --sendCommand
            readCommandResponse:
              replyLineQP: 200 PORT command successful
            --readCommandResponse
          --setupActiveDataSocket
        --setupDataConnection
        sendUploadCommand:
          sendCommand:
            sendingCommand: APPE EA201504.zip
          --sendCommand
        --sendUploadCommand
        completeDataConnection:
          acceptDataConnection:
            controlChannelReply:
              Reading intermediate response..
              readCommandResponse:
                replyLineQP: 451 EA201504.zip: Append/Restart not permitted, try again
              --readCommandResponse
              Final response indicates error.
            --controlChannelReply
          --acceptDataConnection
          Failed to accept data connection.
        --completeDataConnection
        Failed to complete data connection.
      --uploadFromDataSource
      Failed.
    --uploadFromLocalFile
    TotalTime: Elapsed time: 47 millisec
    Failed.
  --PutFile
--ChilkatLog

Viewing all articles
Browse latest Browse all 1061

Trending Articles