
- 172 -
AT$FTPGET Retrieve A Remote File
AT$FTPGET
Retrieve a Remote File
Command Function
Retrieves a remote file from the FTP server for either output on the serial port or
storage to the local flash file system.
Syntax Query
AT$FTPGET=?
Syntax
$FTPGET: “remotefile”,”localfile”
OK
Write Syntax
AT$FTGET=<remotefile>,<localfile>
Write Response
OK
Read Syntax
AT$FTPGET?
Read Response
$FTPGET: <remotefile>,(SERIAL, <localfile>),<output>/<available>,<eof>
Execute Syntax
N/A
Execute Response
N/A
Unsolicited Response
N/A
Parameter Values
<remotefile>
File name on the remote FTP server.
<localfile>
File name to use for storage of the retrieved file in the local flash file system.
Note: the local filename length is limited to 15 characters.
<output>
Number of bytes which have been transferred out the serial port
<available>
Number of bytes of file which are available for output to the serial port
<eof>
0 = file currently being transferred
1 = complete file has been transferred to FTP client
Notes
If local file is not specified, the remote file will be maintained in memory buffers
until a subsequent FTP read request is performed to output a block of bytes onto
the serial port. As the file is transmitted out the serial port, the FTP client will refill
the memory buffers with additional file data from the FTP server.
Summary of Contents for MT 3060 R
Page 13: ...1 Introduction...
Page 17: ...5 General Commands...
Page 34: ...22 Network Commands...
Page 41: ...29 AT MDSTAT Query Modem Status 6 bad message format 7 connect fail Notes...
Page 62: ...50 ME TA Commands...
Page 69: ...57 SMS Commands...
Page 94: ...82 API Commands...
Page 95: ...83 TCP API Commands...
Page 107: ...95 Message Commands...
Page 138: ...126 Event Commands...
Page 157: ...145 RTC Commands...
Page 164: ...152 FOTA Commands...
Page 171: ...159 FTP Commands...
Page 177: ...165 AT FFS Generic Flash File System Access OK...
Page 188: ...176 IP Router Commands...
Page 192: ...180 GPS Commands...
Page 222: ...210...
Page 223: ...211 Battery Commands...
Page 227: ...215 OBD Commands...
Page 246: ...234...
Page 248: ...236 Miscellaneous Commands...
Page 256: ...244 Accelerometer Commands...
Page 269: ...257 Event Tables...
Page 284: ...272 Bit Field Tables...
Page 313: ...301 Appendix Result Codes...
Page 314: ...302 Appendix A Result Codes...
Page 318: ...306 Appendix Error Codes...
Page 319: ...307 Appendix B Error Codes...