Synaccess-networks NP-0801DTM Uživatelský manuál Strana 244

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 243
FTPATCOMMANDS
HSPA+ATCommandsReferenceGuide 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.
Theapplicationmustalwayshandle commandclosure.Toavoiddownloadstallsituations,theapplicationcan
implementatimeout.
FTPGETinCommand Mode#FTPGETPKT
Executecommand,issuedduringanFTPconnection,opensadataconnectionandstartsgettingafilefromtheFTP
serverwhileremainingincommandmode.
Thedataportisopened,thedeviceremainsincommandmode,andtheresultcodeOKisseen.
RetrievalfromFTPserverof“remotefile”isstarted,butdataisonlybufferedinthemodule.
Itispossibletoreaddataafterwardsissuing#FTP
RECVcommand
Readcommandreportscurrentdownloadstatefor<filename>with <viewMode>chosen,intheformat:
#FTPGETPKT:<remotefile>,<viewMode>,<eof>
<eof>0=filecurrentlybeingtransferred
1=completefileistransferredtoFTPclient
Testcomman
dreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPGETPKT=<filename>[,<viewMode>] Execute
AT#FTPGETPKT? Read
AT#FTPGETPKT=? Test
Zobrazit stránku 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 329 330

Komentáře k této Příručce

Žádné komentáře