Skip to content

SFTP: Null bytes starting 8,586,788,865 byte when getting by chunks #863

Closed
@hartois

Description

@hartois

Version: 0.0.19.0
SFTP Server: Windows Server 2012 R2 Datacenter
SFTP Client: CentOS 7

I'm using PHP script for getting files from windows server.
When getting file from SFTP by chunks (1024 * 512) all bytes after 8,586,788,864 byte is NULL
Changing chunk size to 1024 * 1024 or 1024 * 256 does not take effect.
Same file received from Linux sftp server by same php-script with any chunk sizes is CORRECT
If I get same file from same Windows server, but wholly - file is CORRECT

I use php library phpseclib - https://github.com/phpseclib/phpseclib

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions