Archived Forum Post

Index of archived forum posts

Question:

DeleteRemoteFile(Async) failed because file is not found

May 17 '16 at 09:36

Is it possible to extract this information (file not found) to handle that specific failure?

ErrorTextSnippit:

ChilkatLog:
DeleteRemoteFile:
DllDate: Dec 29 2015
ChilkatVersion: 9.5.0.55
Architecture: Little Endian; 32-bit
Language: .NET 4.5
VerboseLogging: 0
filename: [topTapi2.ocx]
deleteFile:
  simplePathCommand:
    simpleCommand:
      sendCommand:
        sendingCommand: DELE topTapi2.ocx
      --sendCommand
      readCommandResponse:
        replyLineQP: 550 File not found
      --readCommandResponse
    --simpleCommand
    Simple path command failed.
    statusCode: 550
    reply: 550 File not found
  --simplePathCommand
--deleteFile
Failed.

--DeleteRemoteFile --ChilkatLog


Accepted Answer

Look at the LastReply property. Here's the description from the online reference documentation:

Contains the last control-channel reply. For example: "550 Failed to change directory." or "250 Directory successfully changed." The control channel reply is typically formatted as an integer status code followed by a one-line description.


Answer

See this:

Android: Get a Piece of Information from the LastErrorXml

C: Get a Piece of Information from the LastErrorXml

C#: Get a Piece of Information from the LastErrorXml

C# UWP/WinRT: Get a Piece of Information from the LastErrorXml

C++: Get a Piece of Information from the LastErrorXml

Classic ASP: Get a Piece of Information from the LastErrorXml

DataFlex: Get a Piece of Information from the LastErrorXml

Delphi ActiveX: Get a Piece of Information from the LastErrorXml

Delphi DLL: Get a Piece of Information from the LastErrorXml

Java: Get a Piece of Information from the LastErrorXml

Lianja: Get a Piece of Information from the LastErrorXml

MFC: Get a Piece of Information from the LastErrorXml

Node.js: Get a Piece of Information from the LastErrorXml

Objective-C: Get a Piece of Information from the LastErrorXml

Perl: Get a Piece of Information from the LastErrorXml

PHP ActiveX: Get a Piece of Information from the LastErrorXml

PHP Extension: Get a Piece of Information from the LastErrorXml

PowerBuilder: Get a Piece of Information from the LastErrorXml

PowerShell: Get a Piece of Information from the LastErrorXml

PureBasic: Get a Piece of Information from the LastErrorXml

Python: Get a Piece of Information from the LastErrorXml

Ruby: Get a Piece of Information from the LastErrorXml

SQL Server: Get a Piece of Information from the LastErrorXml

Swift: Get a Piece of Information from the LastErrorXml

Tcl: Get a Piece of Information from the LastErrorXml

Unicode C: Get a Piece of Information from the LastErrorXml

Unicode C++: Get a Piece of Information from the LastErrorXml

VB.NET: Get a Piece of Information from the LastErrorXml

VB.NET UWP/WinRT: Get a Piece of Information from the LastErrorXml

VBScript: Get a Piece of Information from the LastErrorXml

Visual Basic 6.0: Get a Piece of Information from the LastErrorXml

Visual FoxPro: Get a Piece of Information from the LastErrorXml