473,770 Members | 1,973 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to overcome FAT32 file size limitation with c++ ?

hi all,
i want to dump a file with dummy data in txt file and want to writing
larger file>4GB on FAT32 file system in C++ any body have idea ?
any logic to do so ?

May 22 '07 #1
2 1903
so********@gmai l.com wrote:
hi all,
i want to dump a file with dummy data in txt file and want to writing
larger file>4GB on FAT32 file system in C++ any body have idea ?
any logic to do so ?
The same logic one uses to fit a quart in a pint pot. Use a different pot.

--
Ian Collins.
May 22 '07 #2
On 22 May 2007 01:17:17 -0700, I waved a wand and this message
magically appears in front of so********@gmai l.com:
hi all,
i want to dump a file with dummy data in txt file and want to writing
larger file>4GB on FAT32 file system in C++ any body have idea ?
any logic to do so ?
Yes, just split it into a number of files, simple. That's how they do
it with large datasets. DVDs often split their VOB files into 1GiB
segments for this reason.
--
http://www.munted.org.uk

Fearsome grindings.
May 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2957
by: Tim Gahnstrom | last post by:
rdiff-backup is aperently written in Python and when I run it in a special way I get some funy Python errors. Does anyone know if linux python have some issues with working with fat32 or usb drives? To tracebacks are provided below for more information. This is the version information I get when I start Python ojn my Fedora Core 2 computer. -bash-2.05b$ python Python 2.3.3 (#1, May 7 2004, 10:31:40)
6
1660
by: clintonG | last post by:
I'd be interested in comments pro or con about using -- or not using -- the FAT32 file system for ASP.NET development and testing. -- <%= Clinton Gallagher METROmilwaukee "Regional Information Services" NET csgallagher AT metromilwaukee.com URL http://clintongallagher.metromilwaukee.com/
7
3538
by: Joseph | last post by:
Hi, I'm having bit of questions on recursive pointer. I have following code that supports upto 8K files but when i do a file like 12K i get a segment fault. I Know it is in this line of code. How do i make the last pointer in the indirect sector that has another level of indirect pointer, and be defined recursively to support infinite large files? -code-
2
3030
by: Matt | last post by:
Hello, In my application that I'm writing in C++ (and maybe Java), specifically the cygwin flavor of C++, I want to be able to open any existing files in FAT32 or NTFS file systems (in Windows XP) for read-only purposes. In particular, I want my program to unconditionally be able to read-only open any file--and be able to read all the contents from said fail--which has been marked with any sort of "exclusionary" lock, including write...
1
2451
by: Amod | last post by:
Hi, I m copying data from a video stream on the hard disk using a C++ programme in win32 API. my current file system is FAT32 .. the file size limit of FAT32 is 4GB. I want to automatically split the file if the file size is greater than 4GB and create a new file with the incoming data. How can I perform the above task . Please guide me. Regards, Amod
1
1665
by: Amod | last post by:
Hi, I m copying data from a video stream on the hard disk using a C++ programme in win32 API. my current file system is FAT32 .. the file size limit of FAT32 is 4GB. I want to automatically split the file if the file size is greater than 4GB and create a new file with the incoming data. How can I perform the above task . Please guide me. Regards, Amod
0
946
by: Mike H | last post by:
I have a program that copies files based on file dates: if the source file is newer than the destination file then the source file overwrites the destination. The problem is, when the clocks changed at daylight savings time the timestamps on the destination (NTFS) changed but the source (Fat32) did not. So now it wants to copy the whole source drive because the time stamps are an hour newer than the destinations. It appears FAT32...
3
1297
by: Mihai Mosila | last post by:
Please, be sure of my full respect for what you deal with. My name is Mihai Mosila, Y live in Romania and Y am kindli applyng to you in order to assist me in the following programming matter: Y have a soft which y want to protect by using the “cluster” where Y install it to the users. - As regard “NTFS” Y’ve solved it by using the free library “ntdll.dll”. - The problem involved concerns the “FAT32” ( for Windows 98 )...
11
9245
by: =?Utf-8?B?UHVjY2E=?= | last post by:
Hi, I'm using VS 2005, ,.net 2 for C# windows application. I'm using Process to run a C application and redirecting its standard output so I can read it with StreamReader.ReadToEnd. It's only reading the 1st 5 lines or so when there is about 30 lines of data. I also tried using the Process.BeginOutputReadlin and a DataReceivedEvntHandler to gather output but I also only get about 5 lines of the data. There seems to be a buffer size...
0
9617
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8929
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.