This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unexpected ftplib.error_xxx exception on SFTP 'STOR' command
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Unexpected socket exception on SFTP 'STOR' command
View: 25278
Assigned To: Nosy List: blanquier
Priority: normal Keywords:

Created on 2015-09-30 13:26 by blanquier, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg251934 - (view) Author: Blanquier (blanquier) Date: 2015-09-30 13:26
activated (force SSL on login, allow explicit FTP over TLS). From the FTP client point of view: when I use ftp_id.storbinary( 'STOR file_name'...), a ftplib.error_xxx exception arrive someting. 

On the windows server:
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> STOR Handle.exe
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> 150 Opening data channel for file upload to server of "/Handle.exe"
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> 550 can't access file.
(000336)30/09/2015 08:57:29 - nemo_pyc (135.238.179.15)> TYPE I
(000336)30/09/2015 08:57:29 - nemo_pyc (135.238.179.15)> 200 Type set to I
(000336)30/09/2015 08:57:59 - nemo_pyc (135.238.179.15)>  ×3DG}
(000336)30/09/2015 08:58:04 - nemo_pyc (135.238.179.15)> 'Y'jQÌ~.
¾0Žåà ×3DG~
(000336)30/09/2015 08:58:04 - nemo_pyc (135.238.179.15)> 500 Syntax error, command unrecognized.
(000336)30/09/2015 08:58:09 - nemo_pyc (135.238.179.15)> ͈Ï!x›dƒïæA—:•\ ×3DG
...

could you fix the bug please ?
Best regards,
msg251936 - (view) Author: Blanquier (blanquier) Date: 2015-09-30 13:30
With Filezilla Server 0.9.53, SFTP activated (force SSL on login, allow explicit FTP over TLS). From the FTP client point of view: when I use ftp_id.storbinary( 'STOR file_name'...), a ftplib.error_xxx exception arrive someting. 

On the windows server:
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> STOR Handle.exe
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> 150 Opening data channel for file upload to server of "/Handle.exe"
(000336)30/09/2015 08:56:59 - nemo_pyc (135.238.179.15)> 550 can't access file.
(000336)30/09/2015 08:57:29 - nemo_pyc (135.238.179.15)> TYPE I
(000336)30/09/2015 08:57:29 - nemo_pyc (135.238.179.15)> 200 Type set to I
(000336)30/09/2015 08:57:59 - nemo_pyc (135.238.179.15)>  ×3DG}
(000336)30/09/2015 08:58:04 - nemo_pyc (135.238.179.15)> 'Y'jQÌ~.
¾0Žåà ×3DG~
(000336)30/09/2015 08:58:04 - nemo_pyc (135.238.179.15)> 500 Syntax error, command unrecognized.
(000336)30/09/2015 08:58:09 - nemo_pyc (135.238.179.15)> ͈Ï!x›dƒïæA—:•\ ×3DG
...

Could you fix the bug please ?
Best regards,
History
Date User Action Args
2022-04-11 14:58:22adminsetgithub: 69466
2015-09-30 13:34:28r.david.murraysetstatus: open -> closed
superseder: Unexpected socket exception on SFTP 'STOR' command
resolution: duplicate
stage: resolved
2015-09-30 13:30:29blanquiersetmessages: + msg251936
2015-09-30 13:26:33blanquiercreate