Split Files Snippets


16 April, 2011   

There are times when you need to split a large file into several smaller ones (for whatever the purpose is). The following two methods use Delphi TStream objects to break a file into several files with predefined size; and to merge those files back to the original.

11 October, 2011   

In the same way you often need to format data being sent from Flash, you sometimes need to format data being received. This function takes a string and removes all spaces from it. Here we use the split method of the String class to split the string into an Array and then call the join method of the Array class to convert it back to a string....

24 June, 2014   

For downloading very large files (10 meg or more), split the file into chunks when sending.

This is a PHP Class that calculates the size, number of files & folders of a specific directory.

08 January, 2014   

Simple Python IRC bot by Berend.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

I was trying to pass an array through SWFObject flashvars and realized it can't be done. Instead you need to use a string for your array, pass it into Flash , then convert it to an array using the actionscript "split" function.

AppleScript Snippet to show hidden files in Terminal

20 June, 2013   

How to select between two dates using MySQL code

Java code example to list the Files or Subdirectories in a Directory

30 January, 2013   

jQuery code example for animated scroll

Java code for listing files or sub-directories in a directory

17 October, 2011   

Copying Folders With All Contents Including Other Folders. VB.net 2010 does not have a built in code to copy full folders with their contents but only files(one by one)!!! But you can do it by this code

15 September, 2012   

This will perform the action of deleting many files.

It's an unfortunate necessity that you need to write different code for windows sometimes or at the very least load different libraries since there is no fork(), etc. This is how you can tell.

30 October, 2013   

Example code showing how to make an array of files you find

04 February, 2013   

Visual Basic code to check if value is decimal.

19 July, 2012   

E-mail validation is perhaps the most used validation in web forms, this code will validate email address and also optionally check the MX records of the domain provided in email address to make email validation more robust.

03 August, 2013   

ColdFusion code for upload files to directory

Two simple functions to read an write tab seperated files (like CSV files, etc).