ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 433 of 545 2020-04-15
3.14.12. AT#FTPPUT - FTP Send File
This command sends a file to the FTP server.
AT#FTPPUT=[<filename>[,<connMode>]]
Execution command, issued during an FTP connection, opens a data connection and starts
sending <filename> file to the FTP server.
Parameters:
name of the file (maximum length 200 characters)
select online or command mode:
If online mode is selected (default) and the data connection
succeeds, a CONNECT indication is sent; afterward a NO
CARRIER indication is sent when the socket is closed.
If command mode is selected and the data connection
succeeds, we remain in command mode and we see the
result code OK (instead of CONNECT).
Use the escape sequence +++ to close the data connection.
The command causes an ERROR result code to be returned if no FTP connection has
been opened yet.
AT#FTPPUT=?
Test command reports the maximum length of <filename> and the supported range of values of
<connMode>.
Additional info:
The format is:
#FTPPUT: <length>, (list of supported <connMode>s)
maximum length of <filename>