I am using the Arduino GIGA R1 and the Waveshare 7600X 4G module, and I want to transfer files via FTP.
Unfortunately, I can't find any working examples for the GIGA board, so I am programming the transfer myself using AT commands. The whole process works very well and is stable, but unfortunately not with all files. For example, I have 50 files on the SD card and can access and transfer exactly 10 of them. For all other files, I get error code 17 (file not found or other error).
All files are plain text files.
With the AT command "AT+FSLS", I can only see those 10 files on the SD card.
What can I do to see and transfer all the files?
Here is the complete sequence of AT commands:
ATE1
AT-CREG?
AT+CFTPSSTART
AT+CFTPMODE=1
AT+CFTPTYPE=A
AT+CFTPSLOGON="IP-address",21,"Username","Password",0
AT+FSCD=E:/
AT+FSLS
AT+CFTPSPUTFILE"/files/my-filename"
Thanks for the support!
I have also asked this question to Waveshare support but have not yet received an answer.