
- 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.
Содержание MT 3060 R
Страница 13: ...1 Introduction...
Страница 17: ...5 General Commands...
Страница 34: ...22 Network Commands...
Страница 41: ...29 AT MDSTAT Query Modem Status 6 bad message format 7 connect fail Notes...
Страница 62: ...50 ME TA Commands...
Страница 69: ...57 SMS Commands...
Страница 94: ...82 API Commands...
Страница 95: ...83 TCP API Commands...
Страница 107: ...95 Message Commands...
Страница 111: ...99 AT APIOPT Enable API Optional Header Fields MDMID 99 03 07 63 MDMID 999999999999999999A 03 07 00...
Страница 138: ...126 Event Commands...
Страница 157: ...145 RTC Commands...
Страница 164: ...152 FOTA Commands...
Страница 171: ...159 FTP Commands...
Страница 177: ...165 AT FFS Generic Flash File System Access OK...
Страница 188: ...176 IP Router Commands...
Страница 192: ...180 GPS Commands...
Страница 222: ...210...
Страница 223: ...211 Battery Commands...
Страница 227: ...215 OBD Commands...
Страница 246: ...234...
Страница 248: ...236 Miscellaneous Commands...
Страница 256: ...244 Accelerometer Commands...
Страница 269: ...257 Event Tables...
Страница 284: ...272 Bit Field Tables...
Страница 313: ...301 Appendix Result Codes...
Страница 314: ...302 Appendix A Result Codes...
Страница 318: ...306 Appendix Error Codes...
Страница 319: ...307 Appendix B Error Codes...