Specifications
FTPATCOMMANDS
247 ATCommandsforHSPA‐H5Modems
Notes
TheExecutecommandcausesanERRORresultcodeifnoFTPconnectionisopen.
FTPList#FTPLIST
Executecommand,issuedduringanFTPconnection,opensadataconnectionandstartsgettingfromtheserver
thelistofcontentsofthespecifieddirectoryorthepropertiesofthespecifiedfile.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPLIST[=[<name>]] Execute
AT#FTPLIST=? Test
ParametersandValues
<name> Stingtype,nameofthedirectoryorfile.
Notes
TheExecutecommandcausesanERRORresultcodetobereturnedifnoFTPconnectionisopenedyet.
IssuingAT#FTPLIST<CR>opensadataconnection andstarts gettingfromtheserverthelistofcontentsofthe
workingdirectory.
GetFileSize#FTPFSIZE
Executecommand,issuedduringanFTPconnection,permitstogetfilesizeof<filename>file.
TestcommandreturnstheOKresultcode.
Syntax
Command Commandtype
AT#FTPFSIZE=<filename> Execute
AT#FTPFSIZE=? Test
Notes
IssueFTPTYPE=0commandbeforeFTPFSIZEcommand, tosetfiletransfertypetobinarymode.