I've been working on a raspberrypi/python installation which can take a photo and post it to a website with a buttonpress. I'm uploading it with ftplib.
Now weird thing is; when have cabled internet all works dandy but when I have a connection via wifi the upload negotiation goes well until ftp command/response '150 - ready for upload' (a trace from setting ftplib.set_debuglevel(2) ). Now the Pi should actually send the data but on wifi...it doesnt... I tried pasv true/false, no difference....
I tested the connection and normal browser traffic works, but I have no idea why the actual FTP upload does not initiate.
Another problem is that this FTP-wait freezes the program and I haven't found a way to exit this wait loop on a timeout or something.
Has anyone had this same artifacts?
2 posts • Page 1 of 1