login about faq

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

asked Jan 24 '17 at 03:09

Rainer's gravatar image

Rainer
112


The FTP error returned is 451. I found this online regarding that error code:

451 Failure writing to local file

This error is returned from an FTP server when it cannot store a file that is being sent to it (from SyncBackPro, SyncBackSE, or SyncBackFree). There are three possible reasons why the FTP server may return this error:

  • The drive (on the FTP server that the file is being stored on) is full (or there is not enough free space available for the file being sent)
  • The user has a limit on the amount of disk space (on the FTP server) they can use (a quota) and they've reached that limit (or will exceed it with the file being sent)
  • The permissions on the folder (on the FTP server) do not allow this user to store files in it

You may need to contact the administrator of the FTP server to resolve this issue.

link

answered Jan 24 '17 at 11:27

jpbro's gravatar image

jpbro ♦
1.1k2619

I don't think this is the problem, because when i delete the file on the ftp server and do it again it works. Only when i try to Restart/Resume after the upload broke i get this error.

link

answered Jan 25 '17 at 03:39

Rainer's gravatar image

Rainer
112

The could be explained by running out of disk space/reaching the quota if the file keeps failing at the same/similar part?

(Jan 25 '17 at 08:29) jpbro ♦

The server error message is:

451 EA201504.zip: Append/Restart not permitted, try again
My guess is that the server's FTP implementation does not support the APPE or the REST command, or is somehow configured to disallow it. I suspect you're trying in vain and there's no FTP client that can do a APPE/REST if the command is not supported by the FTP server..

link

answered Jan 25 '17 at 08:40

chilkat's gravatar image

chilkat ♦♦
12.8k325462617

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×144

Asked: Jan 24 '17 at 03:09

Seen: 1,972 times

Last updated: Jan 25 '17 at 08:40

powered by OSQA