Smart Machine Smart Decision
SIM7500_SIM7600_SIM7800 Series_FTPS_AT Command Manual 9 / 29
Defined Values
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.
2.8 AT+CFTPSCWD Change the current directory on FTP(S) server
You can use this command to change the current directory on FTP(S) sever. Make sure you have login to FTP(S)
server successfully before AT+CFTPSCWD
AT+CFTPSCWD Change the current directory on FTP(S) server
Test Command
AT+CFTPSCWD=?
Response
+CFTPSCWD: "DIR"
Execute Command
AT+CFTPSCWD=”<dir>”
Response
a) change current directory successfully:
OK
+CFTPSCWD: 0
b) if failed:
OK
+ CFTPSCWD: <errcode>
c)if parameter format or any other error occurs:
Defined Values
<dir>
The directory to be changed. If the directory contains
non-
ASCII characters, the <dir> parameter should contain a
prefix of {non-ascii}.String type, the maximum length is 256.
<errcode>
The
result of change the current directory, 0 is success, others
are failure, please refer to chapter 4
2.9 AT+CFTPSPWD Get the current directory on FTP(S) server
This command is used to get the current directory on FTPS server. Before AT+CFTPSPWD, please make sure you
have login to FTP(S) server successfully