cygnusnow / ulipad

Automatically exported from code.google.com/p/ulipad
0 stars 0 forks source link

ftp file name parser error #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by xu4wang@gmail.com on 19 Dec 2009 at 4:30

GoogleCodeExporter commented 9 years ago
The problem happens when opening file via FTP, all the file names are added a 
time
before the real name in FTP window. as a result, file cannot be open since 
wrong file
name points to non-existing file.

The FIX is:

add a ymdt format in the begining of the time parse re list fix it.see attached.
re.compile(r'(?P<ymdt>^\d{1,4}.*?\d{1,2}.*?\d{1,2}.*?\s*\d{1,2}:\d{1,2}\s+)')

Original comment by xu4wang@gmail.com on 19 Dec 2009 at 4:40

Attachments: