wanted to split text file in to multiple files based on the file size
Oct 10, 2023
01:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 10, 2023
01:52 AM
wanted to split text file in to multiple files based on the file size
Hi,
I'm new in Thingwvorx and java script.
I'm trying to take a single text file and split it into chunks by a specified chunk size. In my example, trying to split a single file into 1MB chunks.
I'm trying to take a single text file and split it into chunks by a specified chunk size. In my example, trying to split a single file into 1MB chunks.
Example;
source file will be available in the Repository.
File test.txt in repository is 5MB.
chunk size mentioned is 1MB
Program need to split and create five new files in repository with each file have 1MB size.
Please help me to achieve this.
Solved! Go to Solution.
Labels:
- Labels:
-
Mashup-Widget
ACCEPTED SOLUTION
Accepted Solutions
Oct 11, 2023
08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 11, 2023
08:34 AM
Don't know if this works, but this might be a workable example: https://stackoverflow.com/questions/32898082/splitting-a-file-into-chunks-with-javascript
1 REPLY 1
Oct 11, 2023
08:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 11, 2023
08:34 AM
Don't know if this works, but this might be a workable example: https://stackoverflow.com/questions/32898082/splitting-a-file-into-chunks-with-javascript
