php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62807 ssh2_sftp_rmdir and ssh2_scp_send opreate failure bug
Submitted: 2012-08-13 04:07 UTC Modified: 2013-02-18 00:35 UTC
From: chopins dot xiao at gmail dot com Assigned:
Status: No Feedback Package: ssh2 (PECL)
PHP Version: 5.3.15 OS: Fedora 16
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
37 - 10 = ?
Subscribe to this entry?

 
 [2012-08-13 04:07 UTC] chopins dot xiao at gmail dot com
Description:
------------
ssh2_sftp_rmdir cannot real rm dir, even if it return true that the dir is not rm 
and no error
,so use rmdir(ssh2.sftp://XXXX) instead
ssh2_scp_send send large file have copy file error, approximately transport 4Mib 
data have one warning message, and a total of approximately 12Mib be transport 
will termination
so use fopen(ssh2.sftp://XXXXX) and fwrite instead



Patches

ssh2_scp_send_fix_send_large_file_bug_for_0.11.3 (last revision 2012-08-13 12:49 UTC by chopins dot xiao at gmail dot com)
ssh2_scp_send_path (last revision 2012-08-13 12:27 UTC by chopins dot xiao at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-02 20:20 UTC] langemeijer@php.net
I have contacted submitter for more details by email.
 [2012-10-02 20:25 UTC] langemeijer@php.net
-Assigned To: +Assigned To: langemeijer
 [2012-10-06 09:04 UTC] langemeijer@php.net
I'm quite certain these bugs are already fixed in TRUNK, will check with 
submitter after next release
 [2012-10-16 19:08 UTC] langemeijer@php.net
-Status: Assigned +Status: Feedback -Assigned To: langemeijer +Assigned To:
 [2012-10-16 19:08 UTC] langemeijer@php.net
A new ssh2 package is released. Please see if problem still occurs.
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC