Question:
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 9.5.0.51. 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:
ChilkatLog:
Quote(16ms):
DllDate: Jun 23 2015
ChilkatVersion: 9.5.0.51
UnlockPrefix: GROCERFTP
Username: PGMR****
Architecture: Little Endian; 32-bit
Language: .NET 4.0
VerboseLogging: 1
cmd: site filetype=jes
quote(16ms):
sendCommand(16ms):
sendingCommand: QUOTE site filetype=jes
--sendCommand
readCommandResponse:
replyLineQP: 500 unknown command QUOTE
commandResponse: 500 unknown command QUOTE
statusCode: 500
--readCommandResponse
--quote
Failed.
--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.
This new build should fix the problem:
32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatDotNet4-9.5.0-x64.zip