Thanks to everyone who has replied to this thread. Hi BrowserUK, I have used the method what you have suggested.It worked for smaller files. But when the file size started increasing, the perl script started hanging. In the below code snippet the shyam.txt and shyam1.txt files are of smaller size and it gets copied.But when the zip file is being copied, the script hangs. The zip file is of size around 40-60MB.In the below example out of 4 files only first 3 files are copied that is shyam.txt,shyam1.txt,Logs2011-09-19_2321.zip and the 4th zip file is not copied but script got completed. Can you suggest if something needs to be corrected? If this works then I need to try copying large log files of size in GBs. Also I would like to know if any perl packages are required to be installed in order to achieve this. thanks in advance