login about faq

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

asked Jan 05 at 15:33

Stefan%20O's gravatar image

Stefan O
173


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.

link

answered Mar 07 at 10:51

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

PS> Keep a reference to the Ftp2 object instance that makes the async method call. After the async method completes, then you can examine the ftp2.LastReply -- assuming you kept a reference to the object..

(Mar 07 at 10:56) chilkat ♦♦

That's it! Thanks.

(May 17 at 09:36) Stefan O

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

link

answered Jan 05 at 17:28

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Not usable in my case. I'm using DeleteRemoteFileAsync() and the Chilkat.Task only expose ResultErrorText and not ResultErrorXml.

(Jan 07 at 02:17) Stefan O

bump some more character

(Mar 07 at 10:46) Stefan O
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:

×131
×33
×15

Asked: Jan 05 at 15:33

Seen: 636 times

Last updated: May 17 at 09:36

powered by OSQA