-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write stream results in a zero byte file #22
Comments
I encountered a similar issue with |
I'd like to add that this happens for remote files as well: I believe it has to do with with phpseclib/Net/SFTP's |
Hi all! Is there any progress in this issue? Unfortunately I am facing this issue as well. I can confirm it's really SFTP (or the underlying lib phpseclib) because the Local adapter and Dropbox adapter are working. Also, I see the suggestion of the PR are commited to the code base, however the issue isn't solved... I would like to hear from you! Greetz, Bob |
For those who don't actually have to use |
@wizonesolutions I just encountered this issue myself trying to download a huge file from a linux sftp box to a local linux filesystem. The transfer happened (the script execution was delayed during which stuff happened) but the resulting file had zero bytes. |
@radonthetyrant that's probably the main difference and the reason that won't work for everyone. From what I can tell, phpseclib did fix the issue. Maybe this project isn't using the new version? I didn't go that deep, as I didn't really want to patch. |
When I try to write a stream via writeStream() it results in a zero byte file on the SFTP-Server.
With the Flysystem FTP adapter it works correctly.
The text was updated successfully, but these errors were encountered: