Hi,
If possible, try to transfer a file smaller than 2 GB,
if transmission is OK, perhaps some limitation on file size
also check by "sftp" and see result
if file size limitation is problem, you can break large file to many
small files by split command and send on target merge it

Help the community by fixing grammatical or spelling errors, summarizing or clarifying the solution, and adding supporting information or resources. Always respect the original author.

Popular White Paper On This Topic

Hi,
If possible, try to transfer a file smaller than 2 GB,
if transmission is OK, perhaps some limitation on file size
also check by "sftp" and see result
if file size limitation is problem, you can break large file to many
small files by split command and send on target merge it

a: WinSCP places no limits on the size of the file transferred.
However, there are restrictions placed by protocols used. SCP protocol does not support files over 4 GiB (32-bit boundary), while SFTP and FTP support them.

Please note that a size limit may also be imposed by particular server implementations

On AIX:
If you're using IBM's AIX OpenSSH packages then some versions of those
were compiled without large file support. I think the current ones are OK.
However looking at my system it seems that mine are only 32 bits so you
might have to rebuild scp.

For example my AIX system scp is not built using 64 bit.
file /usr/bin/scp
/usr/bin/scp: executable (RISC System/6000) or object module not stripped
If it had been it would have said something like this.
file /unix
/unix: 64-bit XCOFF executable or object module not stripped
^^^^^^ so I would have to rebuild my scp if I wanted to transfer files
greater then 32bits.

If it is over 2GB there might be other factors at play also. Is this a JFS
or JFS2 filesystem? If it is JFS, it has to be large file enabled at
creation time, otherwise you can't create files over 2GB. You can check this
with 'lsfs -q /filesystem'. Look for VFS column for fs type, and look for
'bf: true|false' on last line if it is JFS.
You might also have ulimits on AIX that prevent files greater then a given size
from being created.
Use ulimit -a to find this out:
ulimit -a
time(seconds) unlimited
file(blocks) 2097151
data(kbytes) 131072
stack(kbytes) 32768
memory(kbytes) 32768
coredump(blocks) 2097151
nofiles(descriptors) 2000
threads(per process) unlimited
processes(per user) unlimited

SCP in general:
The scp protocol can transfer large files but only if the scp your
using is built for 64bit. If you have a 32 bit version you will be
limited to about 2.4gb.

There is also a limit on file size with 64 bit versions but that
would be really huge and 20gb would not be a problem.