After a basic training session from a foreign teacher, I immediately felt that I was better off. Let's start with a small example to encourage myself. Of course, the current situation of the three-legged cat has not changed, but it has not stopped moving forward. Continue to cheer up. After the plugin is downloaded, decompress it to a directory and run Python setup. py install. Hahahahaha, after outputting a bunch of stuff (copying to a centralized folder and compiling some files), the gods return to their places. Now, let's start running our Code : Import asyncorefrom Medusa import ftp_server, filesys, logger def startserver (): FTPServ = ftp_server.ftp_server (ftp_server.anon_authorizer ("G: //"), IP = '127. 0.0.1 ', Port = 21, logger_object = logger. file_logger ("log.txt") asyncore. loop () If _ name _ = "_ main _": Print "Starting FTP server .. "startserver () print" server is running... "Well, simple services have been done. What is displayed on FTP is: connected to 127.0.0.1.
220 Guge FTP Server (Medusa async v1.10 [experimental]) ready.
User (127.0.0.1 :( none): But here I am windows + python2.5. There is a false death after execution. I don't know why, but I also hope that people of insight can help me. Haha.