SIM7000-LTE-Shield icon indicating copy to clipboard operation
SIM7000-LTE-Shield copied to clipboard

FTP doesn't work

Open benjamin0906 opened this issue 5 years ago • 7 comments

Hi, I have to set up a FTP connection with a SIM7000 modul, but unfortunatelly I cannot do it and I don't know what is the problem. I attached the log of the GSM commands, as you can see I always got a error 66 after trying to connect to the server. Would you have any idea what i do wrong? Thanks!

The 90.130.70.73 IP address is the ftp://speedtest.tele2.net/ test server. ftp log.txt

benjamin0906 avatar Feb 25 '20 13:02 benjamin0906

There are a couple of good references:

https://m2msupport.net/m2msupport/tutorial-for-simcom-m2m-modules/#Ftp

https://m2msupport.net/m2msupport/atftpget-set-download-file/

On the second one I found: "66 operation not allow"

Have you tried to do this same get with an FTP client application and it works?

Humancell avatar Feb 26 '20 07:02 Humancell

Unfortunately I can't see any new information on the sites you linked in. Yes I've tried to reach the server with various FTP clients and all of them worked.

I made a little mistake: I did not wait for the +FTPGET: answer and sent a new FTPGET=1 command to the module before that and this coused the "66 opertion not allow" error. So the real error code is the "63 Connect error". But I still don't know what is the promblem.

benjamin0906 avatar Feb 26 '20 09:02 benjamin0906

You could always download and test with this tool: https://m2msupport.net/m2msupport/download-at-command-tester-for-simcom-modules/

It is free for 7 days, and very much worth buying after that. It has the FTP command, and you can see the exact command it issues.

Humancell avatar Feb 28 '20 05:02 Humancell

Thank you! I found out what caused the problem. I changed the sim card and it works now. The previous one was a roaming SIM card.

benjamin0906 avatar Mar 04 '20 11:03 benjamin0906

Hi, I tried to use FTP but compilation stops at:

Line 92: Adafruit_FONA_LTE fona = Adafruit_FONA_LTE();

'Adafruit_FONA_LTE' does not name a type

Thanks in advance Paulo

pcbtborges avatar May 14 '20 23:05 pcbtborges

Looks like you need to follow these steps to get the proper library installed.

botletics avatar May 15 '20 03:05 botletics

How large you the Files be with the FTP Protocol?

danielehrhardt avatar Oct 31 '20 13:10 danielehrhardt