SetFtpParameters: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
m (added Category:R2D2 using HotCat)
m (added Category:DATA using HotCat)
 
Line 34: Line 34:


[[Category:R2D2]]
[[Category:R2D2]]
[[Category:DATA]]

Latest revision as of 08:56, 2 April 2025

This command configures parameters for the connected FTP session on the specified GSM port.

Data Type (TEXT or BINARY) and FTP Mode (ACTIVE or PASSIVE).


COMMAND

Command Line Arguments Returns
SetFtpParameters PortIndex, [DataType, FTPType] Error Code in case of error.

OUTPUT

Success or Error Message (See Data Commands Messages)


EXAMPLE

~# SetFtpParameters 0 BINARY
FTP PARAMETER SET

~# SetFtpParameters 1 TEXT PASSIVE
FTP PARAMETER SET

~# SetFtpParameters 1 PASSIVE
FTP PARAMETER SET

~# SetFtpParameters 1 BINARY
BAD PARAMETER