SetFtpParameters
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