SimCom SIM7500 Series At Command Manual
SimCom SIM7500 Series At Command Manual

SimCom SIM7500 Series At Command Manual

Ftps, lte module
Hide thumbs Also See for SIM7500 Series:

Advertisement

SIM7500_SIM7600_SIM7800
Series_FTPS_AT Command Manual_V1.00
LTE Module
Shanghai SIMCom Wireless Solutions Ltd.
Building A, SIM Technology Building, No.633, Jinzhong Road
Changning District200335
Tel:86-21-31575100/31575200
support@simcom.com
www.simcom.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7500 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for SimCom SIM7500 Series

  • Page 1 SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual_V1.00 LTE Module Shanghai SIMCom Wireless Solutions Ltd. Building A, SIM Technology Building, No.633, Jinzhong Road Changning District200335 Tel:86-21-31575100/31575200 support@simcom.com www.simcom.com...
  • Page 2 Manual_V1.00 General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information that may be in the customer’s possession.
  • Page 3: Version History

    Smart Machine Smart Decision Version History Version Date Chapter What is new V1.00 2018-09-28 New version SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual 2 / 29...
  • Page 4: Table Of Contents

    Smart Machine Smart Decision Contents Version History ..........................2 Contents ............................3 1 Introduction ............................ 4 1.1 The process of Using FTP(S) AT Commands ..................4 2 Description of AT Command ......................4 2.1 AT+CFTPSSTART Start FTP(S) service ..................4 2.2 AT+CFTPSSTOP Stop FTP(S) Service ..................
  • Page 5: Introduction

    Smart Machine Smart Decision 1 Introduction The process of Using FTP(S) AT Commands Step 1: Ensure GPRS network is available before performing FTP(S) related operations. Step 2: Configure the parameter of PDP context by AT+CGDCONT. Step 3: Activate the PDP context to start FTP(S) service by AT+CFTPSSTART. Step 4: Login FTP(S) server by AT+CFTPSLOGIN.
  • Page 6: At+Cftpsstop Stop Ftp(S) Service

    Smart Machine Smart Decision +CFTPSSTART: <errcode> Defined Values <errcode> The result of start FTP(S) service, 0 is success, others are failure. Please refer to chapter 4. 2.2 AT+CFTPSSTOP Stop FTP(S) Service AT+CFTPSSTOP Stop FTP(S) Service AT+CFTPSSTOP STOP FTP(S) service Execute Command Response AT+CFTPSSTOP a)If stop FTP(S) service successfully:...
  • Page 7: At+Cftpslogout Logout Ftp(S) Server

    Smart Machine Smart Decision b) If parameter format is not right or other error not related with network occurs: ERROR c)if any other network related error occurs: +CFTPSLOGIN: <errcode> Defined Values <host> Host address, string type, maximum length is 256 <port>...
  • Page 8: At+Cftpsmkd Create A New Directory On Ftp(S) Server

    Smart Machine Smart Decision 2.5 AT+CFTPSMKD Create a new directory on FTP(S) server AT+CFTPSMKD is used to create a new directory on a FTP(S) server. Please make sure login to the FTP(S) server successfully before delete a directory. AT+CFTPSMKD Create a new directory on FTP(S) server Test Command Response AT+CFTPSMKD=?
  • Page 9: At+Cftpsdele Delete A File On Ftp(S) Server

    Smart Machine Smart Decision +CFTPSRMD:<errcode> c) if parameter format or any errors: ERROR Defined Values The directory to be removed. If the directory contains <dir> non-ASCII characters, the <dir> parameter should contain a prefix of {non-ascii}.String type, maximum length is 256 The result of remove directory, 0 is success, others are failure, <errcode>...
  • Page 10: At+Cftpscwd Change The Current Directory On Ftp(S) Server

    Smart Machine Smart Decision Defined Values <filename> The name of the file to be deleted. If the file name contains non-ASCII characters, the <filename> parameter should contain a prefix of {non-ascii}.String type, the maximum length is 256 <errcode> The result of delete a file, 0 is success, others are failure, please refer to chapter 4.
  • Page 11: At+Cftpstype Set The Transfer Type On Ftp(S) Server

    Smart Machine Smart Decision AT+CFTPSPWD Get the current directory on FTP(S) server Response a)if get the current directory successfully: +CFTPSPWD: ”<dir>” Execute Command b)if failed: AT+CFTPSPWD + CFTPSPWD: <errcode> ERROR c)if parameter format or any other error occurs: ERROR Defined Values The name of the file to be deleted.
  • Page 12: At+Cftpslist List The Items In The Directory On Ftp(S) Server

    Smart Machine Smart Decision A – ASCII. I– Binary The result of set type, 0 is success, others are failure, please <errcode> refer to chapter 4. 2.11 AT+CFTPSLIST List the items in the directory on FTP(S) server This command is used to list the items in the specified directory on FTP(S) server. Module will output the items to serial port when list items successfully.
  • Page 13: At+Cftpsputfile Put A File From Module To Ftp(S) Server

    Smart Machine Smart Decision Response a) if download file successfully : Execute Command +CFTPSGETFILE: 0 AT+CFTPSGETFILE= b) if failed: “<filepath>” [,<dir>] +CFTPSGETFILE: <errcode> c) if parameter format or any other errors: ERROR Defined Values The remote file path. When the file path doesn’t contain ”/”, this command transfers file from the current remote FTPS directory.
  • Page 14: At+Cftpsget Get A File From Ftp(S) Server To Serial Port

    Smart Machine Smart Decision AT+CFTPSPUTFILE= a)if upload file successfully : “<filepath>” [,<dir>,<rest_size>] +CFTPSPUTFILE: 0 b)if failed: +CFTPSPUTFILE: <errcode> c)if parameter format i or any other errors: ERROR Defined Values The remote file path. When the file path doesn’t contain “/”, this command transfers file to the current remote FTPS directory.
  • Page 15 Smart Machine Smart Decision +CFTPSGET: DATA,<len> … +CFTPSGET: DATA, <len> … … +CFTPSGET: 0 b) if <using_cache> is 1 and get file successfully: +CFTPS: RECV EVENT AT+CFTPSCACHERD?//you can use this command to //check the size of the received //data +CFTPSCACHERD: 102400 //output cached data now: AT+CFTPSCACHERD +CFTPSGET: DATA,<len>...
  • Page 16: At+Cftpsput Put A File To Ftp(S) Server Through Serial Port

    Smart Machine Smart Decision 1 – Use cache, module will report “+CFTPS: RECV EVENT” when list successfully (Data will output using AT+CFTPSCACHERD command) The result code of download file from FTP(s) server. 0 is <errcode> success, others are failure, please refer to chapter 4. 2.15 AT+CFTPSPUT Put a file to FTP(S) server through serial port You can put a file to FTP(S) server through serial port.
  • Page 17: At+Cftpssingleip Set Ftp(S) Data Socket Address Type

    Smart Machine Smart Decision downloading FTP data will be coded as <ETX><Ctrl+Z>. Each <ETX> character will be coded as <ETX><ETX>. Single <Ctrl+Z> means end of the FTP data. <ETX> is 0x03, and <Ctrl+Z> is 0x1A. The value for FTP “REST” command which is used for broken <rest_size>...
  • Page 18: At+Cftpsabort Abort Ftp(S) Operations

    Smart Machine Smart Decision +CFTPSGET: DATA,<out_len><CR><LF> … b)If the cache data is AT+CFTPSLIST and everything goes well: +CFTPSLIST: DATA,<out_len><CR><LF> … Defined Values <len> Numeric type, The bytes of data cached in FTPS module. The bytes of data to output. The maximum value is 1024 for <out_len>...
  • Page 19 Smart Machine Smart Decision a) ensure GPRS network is available: AT+CSQ +CSQ: 23,0 AT+CREG? +CREG: 0,1 AT+CGREG? +CGREG: 0,1 b) PDP context Enable: //Specify the parameter value of the PDP context corresponding to cid AT+CGSOCKCONT=1,"IP","CMNET" AT+CGPADDR +CGPADDR: 1,10.49.14.68 //ensure the first PDP context get a IP address +CGPADDR: 4,0.0.0.0 Note: usually CSOCKAUTH and CSOCKSETPN parameter are kept default if not care about.
  • Page 20: Access To Ftp Server

    Smart Machine Smart Decision 3.1 Access to FTP server 3.1.1 Download a file from FTP server to module/upload a file to FTP server from module Following commands show us how to login to a FTP server, list the current directory items get the current directory and download a file to module ”E:/”.
  • Page 21 Smart Machine Smart Decision -rw-rw-rw- 1 user group 21 Jan 15 2018 11.txt -rw-rw-rw- 1 user group 41 Apr 8 19:32 11111.txt -rw-rw-rw- 1 user group 327680 Mar 15 2017 111ww.txt +CFTPSLIST: 0 AT+CFTPSPWD//get current directory of FTP server +CFTPSPWD: "/" AT+CFTPSGETFILE="111ww.txt",0 //download a file from FTP server to module directory ”E:/”...
  • Page 22: Download A File From Ftp Server To Serial Port/Upload A File To Ftp Server From Serial Port

    Smart Machine Smart Decision AT+CFTPSLOGOUT //logout FTP server +CFTPSLOGOUT: 0 AT+CFTPSSTOP //stop FTP service +CFTPSSTOP: 0 3.1.2 Download a file from FTP server to serial port/upload a file to FTP server from serial port Following commands show us how to download a file from FTP server to serial port and how to upload a file from serial port to FTP server.
  • Page 23 Smart Machine Smart Decision drw-rw-rw- 1 user group 0 Aug 23 15:37 . drw-rw-rw- 1 user group 0 Aug 23 15:37 .. -rw-rw-rw- 1 user group 4 Aug 11 2016 008test -rw-rw-rw- 1 user group 5505024 Jun 7 17:27 0529-0607.zip drw-rw-rw- 1 user group...
  • Page 24: Access To Ftps Server

    Smart Machine Smart Decision +CFTPSLOGOUT: 0 3.2 Access to FTPS server 3.2.1 Download a file from FTPS server to module/upload a file to FTPS server from module Following commands show us how to download a file from FTPS sever to module and how to upload a file from module to FTPS server: AT+CFTPSSTART +CFTPSSTART: 0...
  • Page 25 Smart Machine Smart Decision -rw-r--r-- 1 ftp ftp 10 Jun 15 2018 t1.txt -rw-r--r-- 1 ftp ftp 10 Apr 17 2018 t2.txt -rw-r--r-- 1 ftp ftp 24 Dec 11 2017 T912.TXT -rw-r--r-- 1 ftp ftp 10 Mar 13 2018 T91www2.TXT -rw-r--r-- 1 ftp ftp 10 Mar 13 2018 T91www2s.TXT -rw-r--r-- 1 ftp ftp...
  • Page 26: Download A File From Ftps Server To Serial Port/Upload A File To Ftps Server From Serial Port

    Smart Machine Smart Decision AT+FSLS//list all items in directory E:/ +FSLS: FILES: POST_JPG.DAT update2.zip AT+CFTPSPUTFILE="Code_204_NOK.qmdl" //upload a file from “E:/” to FTPS server +CFTPSPUTFILE: 0 AT+CFTPSLOGOUT// log out FTPS server +CFTPSLOGOUT: 0 AT+CFTPSSTOP //deactive the PDP context, stop FTP service. +CFTPSSTOP: 0 3.2.2 Download a file from FTPS server to serial port/upload a file to FTPS server from serial port Following commands show us how to download a file form FTPS sever to serial port and how to upload a file...
  • Page 27 Smart Machine Smart Decision +CFTPSSTART: 0 AT+CFTPSSINGLEIP =1 AT+CFTPSLOGIN="serveraddr",990,"uername","password",3//login to a FTPS server +CFTPSLOGIN: 0 AT+CFTPSLIST="/" +CFTPSLIST: DATA,963 -rw-r--r-- 1 ftp ftp 8 Apr 13 2018 t0411982.txt -rw-r--r-- 1 ftp ftp 8 Apr 13 2018 t0411988.txt -rw-r--r-- 1 ftp ftp 88 Apr 11 2018 t0412.txt -rw-r--r-- 1 ftp ftp 88 Aug 21 11:12 t0821234567.txt...
  • Page 28 Smart Machine Smart Decision -rw-r--r-- 1 ftp ftp 18158 Aug 07 2017 update2.zip +CFTPSLIST: 0 AT+CFTPSPWD//get current directory of FTP server +CFTPSPWD: "/" AT+CFTPSPUT="wwwwpute",10 //upload a file from serial to FTPS server >qqqqqqqqqq//this is what you input to serial port. +CFTPSPUT: 0 AT+CFTPSGET="wwwwpute",0 //download the file uploaded by AT+CFTPSPUT to serial port...
  • Page 29: Summary Of Ftp Error Code

    Smart Machine Smart Decision 4 Summary of FTP Error Code FTP error code:. <errorcode> Meaning Success SSL alert Unknown error Busy Connection closed by server Timeout Transfer failed File not exists or any other memory error Invalid parameter Operation rejected by server Network error State error Failed to parse server name...

This manual is also suitable for:

Sim7800 seriesSim7600 series

Table of Contents