Synaccess-networks NP-0801DTM User Manual Page 252

  • Download
  • Add to my manuals
  • Print
  • Page
    / 330
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 251
FTPATCOMMANDS
HSPA+ATCommandsReferenceGuide 252
OK
Where<sentbytes>arethenumberofsentbytes.
Notes
<sentbytes>canbelessthan<bytestosend>
Ifdatasendingfailsforsomereason,anerrorcodeisreported.
Examples
AT#FTPOPEN=”IP”,username,password
OK
AT#FTPPUT=<filename>,1 -> the new param 1 means that we open the connection in command
mode
OK
//Heredatasocketwillstayopened,butinterfaceisavailable(commandmode)
AT#FTPAPPEXT=Size
>…writeherethebinarydata.AssoonSizebytearewritten,dataaresentandOKisreturned
#FTPAPPEXT: <SentBytes>
OK
………
//Last#FTPAPPEXTwillclosethedatasocket,becausesecond(optional)parameterhasthismeaning:
AT#FTPAPPEXT=Size,1
>…writethebinarydata.AssoonSizebyteiswritten,dataissentandOKisreturned.
#FTPAPPEXT: <SentBytes>
OK
//Iftheuserhastoreopenthedataporttosendanother(orappendtothesame)file,hecanrestartwiththeFTPPUT(or
FTPAPP.)
//ThenFTPAPPEXT,…tosendthedatachunksonthereopeneddataport.
Page view 251
1 2 ... 247 248 249 250 251 252 253 254 255 256 257 ... 329 330

Comments to this Manuals

No comments