The issue lies with the response the FTP server gave your client:
Response: 227 (0,0,0,0,7,232)
The Pycom device is returning an invalid IP = 0.0.0.0.
Try setting the IP manually with wlan.ifconfig().
I have already inquired about this issue here:
Seems that the firmware should either offer more options as it related to FTP server functionality or properly handle the storage and use of the IP addresses for the PSV command.
I would also be interested if this problem was fixed or not?
I'm working on a project where i need to read data with up to 2100 bytes at once and it seems that data (about 500 bytes) gets lost somewhere.
I have no problems with smaller chunks with about 80bytes.
@aaronkondziela How do I set the LTE disabled on boot flag? Now when the board powers ON, I need to call LTE init() and deinit() to reduce the power consumption.
BTW, I am also having the LTE hang issue: https://forum.pycom.io/topic/3129/lte-lte-getting-stuck-after-reset-fw-1-17-3-b1-on-fipy/4
It will be very helpful if you could tell me how to set the LTE disabled on boot flag. Thanks in advance.
I have had very good success with the latest firmware. In my experience you must soft reset the modem before and after every connection lte.reset(). I also have a 1s pause between disconnecting, detaching and resetting.
I have tested hundreds of cycles with no issues so far.
@robert-hh So the issue was the LTE modem being initialized sets the WLAN ip address to 0.0.0.0. I was printing the IP before the LTE initialized so I missed that. Thanks for pointing me in the right direction.
I suppose the LTE ought to have its own IP storage, but I guess it shares the WLAN object's.
@prx I submitted a Pull Request to Pycom, and they may include it in the next release. This is not a drastic change: just two lines in a configuration file.
Mint Xfce is under the hood identical to Xubuntu. It is more a look & feel issue. Before Mint, I had also Xubuntu installed.