..


Sponsored Links

How do I copy a file with ASP?

To copy a file is sufficient to use the method CopyFile FileSystemObject object. Here's an example:






 Dim fs







 'I create the FileSystemObject







 Set fs = Server.CreateObject ("Scripting.FileSystemObject")









 'I copy the file page.html to a backup folder hypothetical







 fs.CopyFile "c: \ www \ mysite \ page.html", "c: \ backup \ page.html"









 'I cleaned







 Set fs = nothing



In the same category ...
E-Learning
ASP (Advanced) ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €.
ASP Zero (Ebook) ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €.
ASP and Access (Ebook) ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €.
Sponsored Links