Closed GoogleCodeExporter closed 9 years ago
There's the pyftpdlib ml:
https://groups.google.com/forum/#!forum/pyftpdlib
Also, you should paste the code you're using otherwise it is impossible to know
what is the address you're passing.
Original comment by g.rodola
on 8 Jul 2011 at 1:29
authorizer = ftpserver.DummyAuthorizer()
authorizer.add_user('username', 'password', os.getcwd(), perm='elradfmw')
ftp_handler = ftpserver.FTPHandler
ftp_handler.authorizer = authorizer
ftp_handler.banner = "Welcome"
address = (ip, 21)
ftpd = ftpserver.FTPServer(address, ftp_handler)
ftpd.serve_forever()
the part that has to do with the server setup
Original comment by janko.se...@gmail.com
on 8 Jul 2011 at 1:36
"ip" variable is the culprit.
What do you have in there?
That is supposed to be an interface name such as "eth0" or an IP address such
as "0.0.0.0".
Also, it can be an empty string "" meaning "bind on all available interfaces".
Original comment by g.rodola
on 8 Jul 2011 at 1:40
it's an address, "93.137.127.244", i parse from a web page the ip.
anyway, i created a thread on the forums
Original comment by janko.se...@gmail.com
on 8 Jul 2011 at 1:43
Original issue reported on code.google.com by
janko.se...@gmail.com
on 8 Jul 2011 at 1:26