Archived Forum Post

Index of archived forum posts


Update to causes FTP2.Quote() command failure

Jul 21 '15 at 11:29

We have been using your FTP2 product for a few years now. Due to some intermittent connection failures we started receiving, we recently upgraded one of our programs to version We use FTP to submit JCL jobs to our mainframe. After the upgrade this command in one of our programs began to fail.

        //  Set the file type on the mainframe
        if (!ftp.Quote("site filetype=jes"))
            sessionLog = ftp.LastErrorText;
            ftpStatus = false;

This is the error being produced:



DllDate: Jun 23 2015
UnlockPrefix: GROCERFTP
Username: PGMR****
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 1
cmd: site filetype=jes
    sendingCommand: QUOTE site filetype=jes
    replyLineQP: 500 unknown command QUOTE
    commandResponse: 500 unknown command QUOTE
    statusCode: 500

--Quote --ChilkatLog

It appears that the call is having this effect on the server, in that it is issuing the QUOTE statement twice. I have somewhat replicated this in a command line FTP call:

ftp> QUOTE QUOTE site filetype=jes

500 unknown command QUOTE

Is this a known issue, and is there a fix for this problem?

Thanks for your help.

Accepted Answer

This new build should fix the problem:

32-bit Download:
64-bit Download: