AFTNHombre Posted November 30, 2011 Share Posted November 30, 2011 When I Google the above string I find a lot of advice about using SFTP, turning on blocking, upgrading libraries and such, however, the code that does this seems to work during some operations and not work during others, so I don't think it's a matter of a buggy library. If I could find out why it cannot create the remote file, that might do a world of good. But I've been through all of /var/log and some log messages acknowledge the ssh session, but don't give any clues as to what goes wrong. I've looked at the user, password, host name and port name in and around the ssh2_connect() call. They are all good. I've also checked the permissions and ownership on the destination directory. They aren't the problem either. I've also tried duplicating the call w/a command-line scp call, and that test passes also. So now find myself staring at this "failure creating remote file" message, wondering what the failure is, and I'm running out of ideas. I'm running RHEL AS release 4. Quote Link to comment https://forums.phpfreaks.com/topic/252132-ssh2_scp_send-failure-creating-remote-file-how-do-i-learn-more-about-this/ Share on other sites More sharing options...
AFTNHombre Posted November 30, 2011 Author Share Posted November 30, 2011 Well, sort of solved. It seems that I was working w/a broken connection, but I don't understand how the connection was broken, so now my question is Is it possible to wear out an ssh2 connection? Quote Link to comment https://forums.phpfreaks.com/topic/252132-ssh2_scp_send-failure-creating-remote-file-how-do-i-learn-more-about-this/#findComment-1292721 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.