Switch to full style
ASP/ASP.net examples
Post a reply

copy file

Sun Mar 27, 2011 10:51 pm

Following code create a file and then copy it .
Code:
<%
Dim folderStreamfileStream
Set folderStream
CreateObject("Scripting.FileSystemObject")
Set fileStreamfolderStream.CreateTextFile("c:\codemiles.txt"True)
fileStream.WriteLine("Codemiles text case.")
fileStream.Close
Set fileStream
folderStream.GetFile("c:\codemiles.txt")

// copy file.
fileStream.Copy ("c:\copy.txt")
%> 




Post a reply
  Related Posts  to : copy file
 Copy file to file in java code- implementation     -  
 moving file with copy() function in php     -  
 Encrypt/Decrypt a file from source file to target file.     -  
 Copy Constructor     -  
 copy folder     -  
 SQL COPY TABLE Command     -  
 I'd like to copy this Skymiles_red site     -  
 copy files from applet server to client     -  
 Laserwords Private Limited Chennai : COPY EDITOR     -  
 Able to Copy Text from Uneditable Text Boxes(JTextfields)     -  

Topic Tags

ASP Files and I/O