Re: Bug? 4GB-Limit on FtpPutFile



As far as I remember, you're not the first who met this limitation. The
problem is that wininet uses dword variable to store file's size, and dword
cannot contain more then 4294967295. You can try reimplement FtpPutFile
functionality using FtpCommand (...).

--
V
This posting is provided "AS IS" with no warranties, and confers no
rights.
"Mosberg" <Mosberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BA1622F5-9C9F-47A2-8207-7E7F265C2BB1@xxxxxxxxxxxxxxxx
Hello,

I use FtpPutFile from WinInet-API to transfer some huge files (>4GB). Any
transferred huge file is truncated to 4GB-Limit. When transferred by
FTP.EXE,
there is no truncation, the files have correct sizes. I cannot find any
hints
about size-limitations, so: Is it a bug?

C.Mosberg


.