Multitech MTR-C2 Specifiche Pagina 244

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 243
FTPATCOMMANDS
ATCommandsforHSPAH5Modem 244
FTPGet#FTPGET
Executecommand,issuedduringanFTPconnection,opensadataconnectionandstartsgettingafilefromtheFTP
server.IfthedataconnectionsucceedsaCONNECTindicationissent.Thefileisreceivedontheserialport.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPGET=[<filename>] Execute
AT#FTPGET=? Test
ParametersandValues
<filename> Stringtype,filename.
Notes
TheExecutecommandcausesanERRORresultcodetobereturnedifnoFTPconnectionisopen.
Theapplicationmustalwayshandlecommandclosure.Toavoiddownloadstallsituations,theapplicationcan
implementatimeout.
FTPGETinCommand Mode#FTPGETPKT
Executecommand,issuedduringanFTPconnection,opensadataconnectionandstartsgettingafilefromtheFTP
serverwhileremainingincommandmode.
Thedataportisopened,thedeviceremainsincommandmode,andtheresultcodeOKisseen.
RetrievalfromFTPserverof“remotefile”isstarted,
butdataisonlybufferedinthemodule.
Itispossibletoreaddataafterwardsissuing#FTPRECVcommand
Readcommandreportscurrentdownloadstatefor<filename>with<viewMode>chosen,intheformat:
#FTPGETPKT:<remotefile>,<viewMode>,<eof>
<eof>0=filecurrentlybeingtransferred
1 =completefileistransferredtoFTPclient
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPGETPKT=<filename>[,<viewMode>] Execute
AT#FTPGETPKT? Read
AT#FTPGETPKT=? Test
Vedere la pagina 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 329 330

Commenti su questo manuale

Nessun commento