Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting on FTP files > 4 GB?
Message
From
16/03/2005 13:25:05
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00996360
Message ID:
00996448
Views:
15
Interesting. All four values for lnSizeLow are 255 and all the values for lnSizeHigh are 0.

Therefore I have the following result:

lnSizeLow = ( 255 * 1 ) + ;
( 255 * 256 ) + ;
( 255 * 65536 ) + ;
( 255 * 16777216 )

lnSizeLow = 4294967295

lnSizeLow / (2^10) = 4194304

Ok, so now the lnSizeHigh values are wrong. Not sure why lnSizeHigh is not working properly. Got some ideas on this one?





>Basically you're saying that incorrect file size is returned, right? To verify that can you record and post vaues for lnSizeHigh and lnSizeLow alonside with actual file size for that file?
>
>
>>I have a file on the UNIX box that is reported as 64,958,728KB when using WS_FTP. That same file shows as 4194303.999023KB when I use WinInet and dividing the result by 2^10 (kilobytes).
>>
>>Notice that (2^32) / (2^10) equals 4194304 when calced at the VFP command window. That is clearly telling me that the max capacity is 4GB or 2^32.
>>
>>Since the file I have in question is in excess of 60 GB I have a problem in that the 60GB file is being shown as 4GB.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform