Sending file to print server using ftplib
Andrew Bennetts
andrew-pythonlist at puzzling.org
Wed May 19 22:11:50 EDT 2004
On Thu, May 20, 2004 at 11:40:20AM +1000, Joshua Burvill wrote:
> Hello,
>
> I am trying to print something to a print server using the following
> function
> but I get errors, does anyone have any pointers?
It looks like your FTP server doesn't support the PASV command. Try calling
"ftp.set_pasv(0)" after logging in.
-Andrew.
More information about the Python-list
mailing list