Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5055

Python • Re: Python and FTP not working

$
0
0
My worked example was run on an RPi[5]-4G board under the control of 64-bit RaspiOS Bookworm, which uses Python 3.11 as its default Python interpreter.
I dived right in having no experience of 'ftplib'. That was before seeing your code and I ended up with much the same as your example.

Worked on my Pi 3B, Buster 32-bit, for both Python 2.7.16 and 3.7.3

Worked under Windows 10 for both Python 2.7.6 and 3.9.13

I suspect most issues will be entirely separate to OS or Python used, are system set-up or configuration, network, or network, firewall and security configuration, issues.

Statistics: Posted by hippy — Mon Jul 01, 2024 12:51 pm



Viewing all articles
Browse latest Browse all 5055

Trending Articles