Closed rickavila closed 2 years ago
setup.py
is only for CPython/PyPI or the unix
port . For micropython on microntroller boards, just copy ftplib.py
and optionally ftplibtls.py
and ftpupload.py
to the flash file system of your board. You can also compile them with mpy-cross
first and copy the resulting *.mpy
files instead.
1)
Traceback (most recent call last):
File "
Note :-(ip is hidden with *) testing on Raspberry pi pico w
2)
Traceback (most recent call last):
File "
Please use .set_debuglevel(2)
on your FTP
instance before connecting - i.e. don't pass a host/IP on instantiation use .connect(host)
. Then report the output here.
The second error is likely a result of the first one, because there is no connection, the instance does not have an af
attribute yet.
BTW, I don't have a Rasperry Pico W, so I haven't tested this library on the pico port and I am not able to at the moment.
@SpotlightKid Thanks for the reply it is working properly
When I run setup.py on a new pico 2 W it gives an "ImportError: no module names 'setuptools'". I get stuck here. I am unable to find setuptools for micropython. Any assistance is appreciated.