Go Back   FlashFXP Forums > >

Project: FlashFXP Bug Reports Ticket Tools
ID: 1177 Category: FlashFXP Bug
Title: Python ftp server Error Status: Open
Severity: Medium Version: 5.4

Junior Member
nicky1605
12-27-2018, 04:50 AM
Python ftp server Error

I use COS to build Python FTP server. It can download files normally, but upload error, and other clients such as xftp/Windows/FileZilla and so on are normal.


Thanks!


PHP Code:
Sat17 Nov 2018 11:01:05 cos_file_system.py[line:146DEBUG current work directory /abc/haha
Sat
17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] -> 250 "/abc/haha" is the current directory.
Sat17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] <- PWD
Sat
17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] -> 257 "/abc/haha" is the current directory.
Sat17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] <- TYPE I
Sat
17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] -> 200 Type set toBinary.
Sat17 Nov 2018 11:01:05 handlers.py[line:1821DEBUG 60.166.87.82:63951-[nicky1605] <- MLST sync.log
Sat
17 Nov 2018 11:01:05 handlers.py[line:1832ERROR unhandled exception in instance <CosFtpHandler(id=140467162044752addr='60.166.87.82:63951'user=u'nicky1605')>
Traceback (most recent call last):
  
File "/usr/lib64/python2.7/asyncore.py"line 83in read
    obj
.handle_read_event()
  
File "/usr/lib64/python2.7/asyncore.py"line 449in handle_read_event
    self
.handle_read()
  
File "/usr/local/cosftp/pyftpdlib/ioloop.py"line 920in handle_read
    asynchat
.async_chat.handle_read(self)
  
File "/usr/lib64/python2.7/asynchat.py"line 158in handle_read
    self
.found_terminator()
  
File "/usr/local/cosftp/pyftpdlib/handlers.py"line 1414in found_terminator
    self
.pre_process_command(linecmdarg)
  
File "/usr/local/cosftp/pyftpdlib/handlers.py"line 1531in pre_process_command
    self
.process_command(cmdarg, **kwargs)
  
File "/usr/local/cosftp/pyftpdlib/handlers.py"line 1542in process_command
    method
(*args, **kwargs)
  
File "/usr/local/cosftp/pyftpdlib/handlers.py"line 2210in ftp_MLST
    data 
b''.join(iterator)
  
File "/usr/local/cosftp/ftp_v5/cos_file_system.py"line 457in format_mlsx
    ft
sizelast_modifiedname basename
ValueError
too many values to unpack
Sat
17 Nov 2018 11:01:05 log.py[line:132DEBUG [debugcallclose() (<CosFtpHandler(id=140467162044752





FlashFXP-log:https://hksd12-my.sharepoint.com/:t:...w1JDQ?e=7fZUQ4

Python-ftp-server-log: https://hksd12-my.sharepoint.com/:t:...Ve72g?e=BawpEN
Super Duper
MxxCon
12-28-2018, 02:26 AM
Re: Python ftp server Error

Based on your posted log it looks like FlashFXP is asking your server MLST sync.log and after that your server explodes and gives you debug log... This FTP server is supposed to fully support it since it's being advertised in FEAT reply..

https://tools.ietf.org/html/draft-he...command-ftp-01
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
Junior Member
nicky1605
01-03-2019, 04:22 AM
Re: Python ftp server Error

Thx!
I submitted a support ticket to Tencent Server Providers, who said FileZilla could be used properly, indicating that their server software was not have problem, and that it was a compatibility problem for your software.
Junior Member
nicky1605
01-03-2019, 08:35 PM
Re: Python ftp server Error

They said Filezilla, Xftp, and WinSCP would not be a problem, and only FlashFXP could not upload it.

Posting Rules
You may not post new tickets

Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 07:22 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)