Message78603
The python program crashes (stops responding) both from the command line
and in IDLE (ver 3.0), after listing all the files in the approprate
directory, both with ftp.dir() and with ftp.retrlines('LIST') (see prog
listing below).
I have to close the window (both window shell and IDLE). No other key
combo responds.
Python env (from IDLE):
Python 3.0 (r30:67507, Dec 3 2008, 20:14:27) [MSC v.1500 32 bit
(Intel)] on win32
Program:
import ftplib
ftp = ftplib.FTP('ftp.edgecastcdn.net', user='theusername',
passwd='thepassword')
ftp.cwd('chrismahan-675')
ftp.dir()
#ftp.retrlines('LIST')
ftp.close()
The username and password are correct.
I am able to use the ftp resource with filezilla (3.1.6) with no problem.
This runs on a Windows Server 2003 Standard Edition, Service Pack 2.
This is also a completely clean install of Python 3.0. I installed it,
then wrote this program.
Python 2.5 is installed on this server and runs fine.
Any questions: chris.mahan@gmail.com |
|
Date |
User |
Action |
Args |
2008-12-31 13:01:01 | chris.mahan | set | recipients:
+ chris.mahan |
2008-12-31 13:01:01 | chris.mahan | set | messageid: <1230728461.13.0.270652897235.issue4791@psf.upfronthosting.co.za> |
2008-12-31 13:00:00 | chris.mahan | link | issue4791 messages |
2008-12-31 12:59:59 | chris.mahan | create | |
|