Checked it with a second SD card with only one partition and rebootetd the router and clickt the LoRa antenna into the WiFi part. It is faster and I get less problems and sometimes larger files, but it will still breaks. Sometimes after a few megabytes sometime after a few k.
At the moment it is only a nice to have feature. I wat to check the saved stream of the GPS in an editor before I use it as a test stream for my module. I will stop testing.
Hi guys, I didn't read everything below in detail, but I just wanted to add that the Pymakr package for Atom has an option for not rebooting after upload :) No need to switch to FTP if the reboot part is the issue.
Actually, VSCode is supposed to have the same option, but when testing it just now it shows a bug (it doesn't show any output in the terminal after upload). I'm going to fix that now and add it in the next release. After that, you can add "reboot_after_upload" key to the global or project config file ("reboot_after_upload": false) and it will not reboot the board after uploading or downloading.
@nickboots Great! I'm glad you sorted it out. The project name label might be related to this issue, you should be still able to upload/run your project, it's just the label that doesn't update. FTP only works with WiFi, if you want to use the serial connection, you can use Pymakr with Atom/VSCode, or rshell.
@NickBoots , If you are connecting to an Access point from your pycom device (i.e Wifi in STA mode) disable the wifi on boot option via this command pycom.wifi_on_boot(False) reset board and try again.
@misterlisty ftplib.mpy should work on a Lopy, give that you use the latest firmware and the mpy file was created with the proper mpy-cross program. You have to remove or rename ftplib.py from the file system, otherwise the .py file is used.
You can not connect through FTP in FileZilla, then this answer for you.
You can use FTP account to create your website'sFTP accounts. FTP allows you to manage your website's files in cpanel.
To create an FTP account, you need to perform a simple task.
Login to your domain cpanel account. Find out File section and in that FTP accounts. Click over there to create FTP account with Linux.
After entering you first need to set FTP login name and choose the particular domain name for FTP account if you have another domain or subdomain. Generate strong password with the help of Password Generator and set password. While setting password strength of password can be measure through the “strength”.
You can choose different-different directories for different-different domains or subdomains. You can create separate FTP account for any of the directory in cPanel. You can choose FTP account quota with specific figure or simple choose it unlimited. Lastly click on Create FTP account. And your FTP account created successfully.
To access this newly created FTP account in filezilla. Simply click on the configure FTP client and you will get the username and the password you inserted at the time of creating FTP account. Open filezilla and enter credentials and access your FTP account in filezilla.
Follow this steps and click the following link to get more information.
@robert-hh Thanks for the snippet. I can confirm that it seems to be a problem with my windows machine. I can now connect to the LoPy in STA mode via telnet and ftp (with my linux machine). Thanks for all the suggestions!
@pmulvey FTP on Windows is pretty outdated and restricted. And it does not support passive mode. That's why LIST fails, and you cannot transfer any files. Use Filezilla or the FireFTP extension of Firefox.