We need to connect to an AS400 FTP server. The following commands need to be sent to the server after the connection:
What would be the best way to achieve that? I see 2 possibilities, but I'd like to validate with you:
1 - Using the SendCommand method to pass those commands. For exemple: client.SendCommand("NAMEFMT 0");
2 - Using a property named "DisableImplicitAs400NameFormat" which would be set to true. The Rebex documentation indicates: "Gets or sets a value indicating whether the
SITE NAMEFMT 1 is used when AS/400 system is detected. Default is false, which means the
SITE NAMEFMT 1 is used."
What would work best? Any other idea?