Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual 19 / 29
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:/”.
AT+CFTPSSTART //start FTP service
OK
+CFTPSSTART: 0
AT+CFTPSSINGLEIP =1 //set data connection use the same address of control connection
OK
AT+CFTPSLOGIN="serveraddr",21,"uername","password",0//login to a FTP server
OK
+CFTPSLOGIN: 0
AT+CFTPSLIST="/" //list all items of directory “/”
OK
+CFTPSLIST: DATA,1024
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 0 Apr 8 19:15 1
-rw-rw-rw- 1 user group 1388870 Apr 27 2017 1.isf
-rw-rw-rw- 1 user group 2 Aug 23 2016 1.txt