File Copy Snippets


01 August, 2013   

Example Java code for Fast File Copy using NIO

25 October, 2012   

Java code example to fast file copy using NIO

30 March, 2011   

Need to unzip a file? this function can do that for you. It is reccomended that the functions.php file and the file that exicutes the unzip function are NOT in the same directory as the zip files. unzip ( string $zipfile , string $newLocation ) zipfile gets the name of the current zip file. newLocation is where you want to store all the...

09 November, 2017   

Copies Source file to Dest file, preserving modification date. Required units: Classes, SysUtils.

14 August, 2014   

Easy way to copy the contents of one table to another table.

02 December, 2012   

Delphi code example for HTML color to Delphi TColor

17 July, 2013   

This one creates a back of the current workbook.

Here are the code for Notepad Replacement Install Script.

Sometimes you have some information on your page and your visitors might want to copy it. The easiest way is to provide a mechanism that allows them to simply click a button to do so. You have to paste this code into the head of your web page:

18 September, 2013   

PHP example for listing directory contents

09 July, 2013   

Copy selected text by allowing user to simply click a button

13 April, 2011   

Reading a file to a string couldn't be easier than using the file_get_contents() function. Simple pass the name of the file (with path) and optional parameters

Delphi code example - how to Cut, Copy and Paste text from the control which has the focus.

30 August, 2015   

Loads the contents of a dir an sorts them by the date of creation.

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

07 March, 2011   

Shows how to create a simple file download by using PHP. The content could also be dynamically generated)

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

24 June, 2014   

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

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

07 February, 2011   

Automatic Copyright Year