Specifications
FTPATCOMMANDS
245 HSPA+ATCommandsReferenceGuide
ParametersandValues
<filename> Stringtype,filename.
<viewMode> Permittochooseviewmode.Textformatorhexadecimal.
Notes
TheExecutecommandcausesanERRORresultcodeifnoFTPconnectionisopen.
Theapplicationalwayshandlescommandclosure.Toavoiddownloadstallsituationsensuretheapplication
implementsatimeout.
FTPType#FTPTYPE
Setcommand,issuedduringanFTPconnection, setsthefiletransfertype.
Readcommandreturnsthecurrentfiletransfertype,intheformat:
#FTPTYPE:<type>
Testcommandreturnstherangeofavailablevaluesforparameter<type>:
#FTPTYPE:(0,1)
Syntax
Command Commandtype
AT#FTPTYPE=[<type>] Set
#FTPTYPE? Read
#FTPTYPE=? Test
ParametersandValues
<type> Filetransfertype.
0 Binary.
1 Ascii.
Notes
ThecommandcausesanERRORresultcodeifnoFTPconnectionisopened.
FTPReadMessage #FTPMSG
Executecommandreturnsthelastresponsefromtheserver.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPMSG Execute
AT#FTPMSG=? Test