Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual 3 / 29
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 .......................................................................................... 5
2.3 AT+CFTPSLOGIN Login to a FTP(S)server ................................................................................... 5
2.4 AT+CFTPSLOGOUT Logout FTP(S) server .................................................................................. 6
2.5 AT+CFTPSMKD Create a new directory on FTP(S) server .............................................................. 7
2.6 AT+CFTPSRMD Delete a directory on FTP(S) server ..................................................................... 7
2.7 AT+CFTPSDELE Delete a file on FTP(S) server ............................................................................ 8
2.8 AT+CFTPSCWD Change the current directory on FTP(S) server ..................................................... 9
2.9 AT+CFTPSPWD Get the current directory on FTP(S) server ............................................................ 9
2.10 AT+CFTPSTYPE Set the transfer type on FTP(S) server .............................................................. 10
2.11 AT+CFTPSLIST List the items in the directory on FTP(S) server .................................................. 11
2.12 AT+CFTPSGETFILE Get a file from FTP(S) server to module ..................................................... 11
2.13 AT+CFTPSPUTFILE Put a file from module to FTP(S) server ..................................................... 12
2.14 AT+CFTPSGET Get a file from FTP(S) server to serial port ......................................................... 13
2.15 AT+CFTPSPUT Put a file to FTP(S) server through serial port ..................................................... 15
2.16 AT+CFTPSSINGLEIP Set FTP(S) data socket address type ......................................................... 16
2.17 AT+CFTPSCACHERD Output cached data to MCU ................................................................... 16
2.18 AT+CFTPSABORT Abort FTP(S) operations ............................................................................. 17
3 Example ........................................................................................................................................ 17
3.1 Access to FTP server ..................................................................................................................... 19
3.1.1 Download a file from FTP server to module/upload a file to FTP server from module ................ 19
3.1.2 Download a file from FTP server to serial port/upload a file to FTP server from serial port ........ 21
3.2 Access to FTPS server .................................................................................................................. 23
3.2.1 Download a file from FTPS server to module/upload a file to FTPS server from module ............ 23
3.2.2 Download a file from FTPS server to serial port/upload a file to FTPS server from serial port .... 25
4 Summary of FTP Error Code ........................................................................................................ 28
This document is a reference guide to all the AT commands defined for FTP(S). Through these FTP AT commands,
you can download file from FTP(S) server or upload file to FTP(S) server.