sai srinivas dharanikota wrote:
> I have a strange problem when I try to do ScpTo. I am
> trying to transer 2 files of size 4KB and 4GB. I am
> able to ScpTo the 4KB file without any problem, but I
> get "pipe closed" exception when I ScpTo the 4GB file.
> The file is being created, but the content is not
> being transfered.I dont understand the problem. Can
> any body give pointers to my problem.
Are you certain that the filesystem you are writing the 4GB file to on the
remote machine can handle files that large? On many Unix filesystems, the
filesystem has to specifically be enabled to support large files (if it supports
them at all).
Does it work with a 1GB or 2GB dummy file? Does the 4GB transfer work with the
regular command-line scp?