Christopher Mahan added the comment:
edgecast support said the ftp server is ProFTPD version 1.3.1.
___
Python tracker
<http://bugs.python.org/issue4791>
___
___
Pytho
Christopher Mahan added the comment:
Edgecast.com support created a test ftp account for the purpose of
troubleshooting this issue. Please email me (chris.ma...@gmail.com) and
I'll forward you the login info.
___
Python tracker
<http://bugs.py
Christopher Mahan added the comment:
Update:
I requested a test ftp account from edgecast. The tech's response was
that he would file a request for it. Will update.
___
Python tracker
<http://bugs.python.org/i
Christopher Mahan added the comment:
When running scritp with python 2.5.4, got this error. I'll remove the
"timeout=2" and run again. see below.
Traceback (most recent call last):
File "C:\python_scripts\python3\candee_processor.py", line 3, in
ftp = ftplib
Christopher Mahan added the comment:
Per Giampaolo's suggestion, I added the timeout. Program listing and
output below:
-begin listing
import ftplib
ftp = ftplib.FTP('ftp.edgecastcdn.net', user='theusername',
passwd='thepassword', timeout=2)
ftp.se
Christopher Mahan added the comment:
haypo writes:
>By default, the socket created to get the result of LIST has no
>timeout (is blocking). So fp.readline() only returns an empty string
>when the socket is closed (by the server).
Even if the server closed the socket and fp
Christopher Mahan added the comment:
Full output with debuglevel 3
*cmd* 'CWD chrismahan-675'
*put* 'CWD chrismahan-675\r\n'
*get* '250 CWD command successful\n'
*resp* '250 CWD command successful'
*cmd* 'TYPE A'
*put* 'TYPE A\r\n'
Christopher Mahan added the comment:
I added the following two lines and I was able to run the code.
Before:
line = fp.readline()
if self.debugging > 2: print('*retr*', repr(line))
if not line:
break
if line
Christopher Mahan added the comment:
I went into the source for Libs/ftplib.py and I noted that line 423 is:
if self.debugging > 2: print('*retr*', repr(line))
so I changed the debuglevel to 3, as such: ftp.set_debuglevel(3)
and I got these last 4 lines:
-rwxrwxrwx 1 nob
Christopher Mahan added the comment:
I modified the program by adding line: ftp.set_debuglevel(2)
START LISTING
import ftplib
ftp = ftplib.FTP('ftp.edgecastcdn.net', user='myuserid',
passwd='mypassword')
ftp.set_debuglevel(2)
ftp.cwd('chrism
Christopher Mahan added the comment:
The list does not seem to contain non-ascii characters.
___
Python tracker
<http://bugs.python.org/issue4791>
___
___
Python-bug
Christopher Mahan added the comment:
Added file screenshot of filezilla view of the folder in question.
___
Python tracker
<http://bugs.python.org/issue4791>
___
___
Pytho
Christopher Mahan added the comment:
the output: just before the non-responsiveness:
-rwxrwxrwx 1 nobody nogroup 3905538 Dec 29 09:51 Bronski Beat -
Why.mp3
-rwxrwxrwx 1 nobody nogroup873966 Dec 28 13:53 test9.avi
-rwxrwxrwx 1 nobody nogroup 2512653 Dec 29 08:28
Christopher Mahan added the comment:
Update: Ran the same code with python 2.6.1 on the same computer, and
that worked fine.
___
Python tracker
<http://bugs.python.org/issue4
Changes by Christopher Mahan :
--
title: retrlines('LIST') and dir hang at end of listing in ftplib ->
retrlines('LIST') and dir hang at end of listing in ftplib (python3.0)
___
Python tracker
<http:/
New submission from Christopher Mahan :
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
16 matches
Mail list logo