Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting on FTP files > 4 GB?
Message
From
16/03/2005 11:50:33
 
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:
00996395
Views:
16
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.

>Hi Tom,
>
>Why not? What exactly the problem is?
>
>>Hi Sergey, you may be correct as 2^32 translates to 4294967296 but that will not resolve handling some of the 50+ GB files that are on my UNIX server. I am using the FTP class to report on the date and size of the files on the UNIX box to help control out of disk space issues.
>>
>>I am glad that you responded because I suspect you are about the only one that can help on something of this nature...
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform