Message78603
| Author |
chris.mahan |
| Recipients |
chris.mahan |
| Date |
2008年12月31日.12:59:59 |
| SpamBayes Score |
3.0409564e-11 |
| Marked as misclassified |
No |
| Message-id |
<1230728461.13.0.270652897235.issue4791@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|