faqts : Computers : Programming : Languages : Python : Modules : ftplib

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 19 people (16%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

FTP server is W2K IIS 5. Could not login using ftp.connect(). Need Help.

Jun 14th, 2003 23:04
jan supra,


Part of my Question:

I setup my IIS 5.0 in Windows 2000 Advance Server as an FTP server. I
remove anonymous login, so that only windows/domain authenticated users
can login. I am using python as a cgi script. I am testing the ftplib
module. This is the code that I type when I am just testing it using the
IDLE.
import ftplib
ftp = ftplib.FTP()
ftp.connect("10.254.196.1")
ftp.login('joe', 'password')
When I hit enter: it gave errors that is referencing the username and
password. The last line of the error is:
error: (10053, 'Software caused connection abort')

The ftp server is working properly as well as the correct ip address and
default port for the ftp. The username and password is also correct.
I need help why I could not login using the above codes. Please help. 

Thank you,
Jan