Hi.
thanks for your quick reply!
> What kind of problems? Without knowing this we can't possibly hope to
help.
Actually the limit I hit is 2GB. When I try to stat() a file via sftp it
works with 2047 MB, but fails with 2048 MB:
dd if=file.big of=file.big bs=1M count=2047
2047+0 records in
2047+0 records out
2146435072 bytes (2.1 GB) copied, 55.8804 seconds, 38.4 MB/s
NETSSH2: 'size' => 2146435072
dd if=file.big of=file.bigger bs=1M count=2048
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 48.7559 seconds, 44.0 MB/s
NETSSH2: 'size' => 18446744071562067968
My question was, if libssh2's sftp in general has any file size limits.
Thanks,
MartinD:
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-01