[issue25278] Unexpected socket exception on SFTP 'STOR' command

Blanquier report at bugs.python.org
Wed Sep 30 16:15:13 CEST 2015


Blanquier added the comment:

Hi,

If I use the Python FTP instead of Python SFTP, there is no problem. The 
Python library works fine as well as the Filezilla server.
The exception occures inside ssl.py file (line 791) when running 
self.sslobj.shutdown() instruction.

I understand that the problem could be due to Filezilla server as well 
as Python ftplib code and it's difficult to say who is wrong.

I have done 2 snapshots: one on the client side and the second on the 
sever side (see attached document).
On the client side, we can see that the problem occure with the 
/tnr_nemo_dico.pyc/ file.
On the server size, the last line indicates that the transfert is 
succesfull.
It's the reason why I think that the Python FTP lib could have a bug 
when SFTP is in usage. It's a random problem because previous uploads 
have been OK.
Are you agree with me or do I make a mistake ?

Best regards,

Philippe Blanquier

Le 30/09/2015 15:33, R. David Murray a écrit :
> R. David Murray added the comment:
>
> Does this have anything to do with python itself and its standard library?  From your description this sounds like a problem with filezilla and should be reported to them.
>
> ----------
> nosy: +r.david.murray
> resolution:  -> third party
> stage:  -> resolved
> status: open -> pending
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue25278>
> _______________________________________
>

----------
status: pending -> open
Added file: http://bugs.python.org/file40627/ftp_client.jpg
Added file: http://bugs.python.org/file40628/ftp_server.jpg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25278>
_______________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftp_client.jpg
Type: image/jpeg
Size: 717115 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20150930/e6a64b2b/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftp_server.jpg
Type: image/jpeg
Size: 845410 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20150930/e6a64b2b/attachment-0003.jpg>


More information about the Python-bugs-list mailing list