-
-
Notifications
You must be signed in to change notification settings - Fork 683
Open
Description
FTP Server OS: Unix
FTP Server Type: Axway
Client Computer OS: Windows
FluentFTP Version: 49.0.2
Framework: .NET 6
Hey I'm back with another issue/question. So one of our users faced an issue with the GetObjectInfo() method. It seems to be returning
Response: 500 'MLST /CER/INBOX/TEST_CLM.096FB412.20240820161946524': command not understood. See detailed logs below. My understanding from the code is FluentFTP checks if MLST is supported on the server or else fallback to get folder listiting to get the file metadata. Do we have a bug in this logic ?
Logs :
> Connect(False)
Status: FluentFTP 49.0.2.0(.NET 6.0)
Status: Connecting to IP #1= ***:21
Status: Waiting for a response
Response: 220 10.2.242.199 FTP server 5.5-20220825 ready. [739117.852d]
Command: USER ***
Status: Waiting for response to: USER ***
Response: 331 Password required for ***. [51ms]
Command: PASS ***
Status: Waiting for response to: PASS ***
Response: 230 virtual user *** logged in from /52.179.140.75:60198. [69ms]
Command: FEAT
Status: Waiting for response to: FEAT
Response: 211-Extensions supportedResponse: AUTHResponse: USERResponse: PASSResponse: QUITResponse: PORTResponse: PASVResponse: EPSVResponse: EPRTResponse: TYPEResponse: STRUResponse: MODEResponse: RETRResponse: STORResponse: ABORResponse: DELEResponse: CWDResponse: XCWDResponse: LISTResponse: NLSTResponse: SITEResponse: SYSTResponse: STATResponse: HELPResponse: NOOPResponse: MKDResponse: XMKDResponse: RMDResponse: XRMDResponse: PWDResponse: XPWDResponse: CDUPResponse: XCUPResponse: SIZEResponse: MDTMResponse: RNFRResponse: RNTOResponse: RESTResponse: FEATResponse: ADATResponse: PROTResponse: PBSZResponse: APPEResponse: XCRCResponse: CCCResponse: COMBResponse: MLSDResponse: UTF8
Response: 211 END [23ms]
Status: Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
Command: OPTS UTF8 ON
Status: Waiting for response to: OPTS UTF8 ON
Response: 200 OPTS command successful. [18ms]
Command: SYST
Status: Waiting for response to: SYST
Response: 215 UNIX Type: L8 [22ms]
Status: Active ServerHandler is: None
Status: Listing parser set to: Machine
Command: PWD
Status: Waiting for response to: PWD
Response: 257 "/" is current directory. [18ms]
> GetObjectInfo("/CER/inbox/TEST_CLM.096FB412.20240820161946524", False)
Command: MLST /CER/inbox/TEST_CLM.096FB412.20240820161946524
Status: Waiting for response to: MLST /CER/inbox/TEST_CLM.096FB412.20240820161946524
Response: 500 'MLST /CER/INBOX/TEST_CLM.096FB412.20240820161946524': command not understood. [18ms]
Warning: Failed to get object info for path /CER/inbox/TEST_CLM.096FB412.20240820161946524 with error 'MLST /CER/INBOX/TEST_CLM.096FB412.20240820161946524': command not understood.