If you want to copy some foldes to another folder, first create a File System Object. CopyFolder method will help you to copy folder to another folder.
If you want to check a file exists, you may use this code. First we are starting script creating a copy of File System Object. FSO has many useful methods. One of them is 'FileExists' that we will use it now.
For whatever reason, there are times when it would be convenient to know how to delete a folder without having to go to the server to do it. This is just one of the things you can do with the File Scripting Object.
A code snippet to display the last modified date for any given file dynamically. Every time the file is modified this info is written into the file. The FSO knows just how to read that for you.
Step-by-step tutorial on how to upload files (images, etc) from the client browser to the server hard disk using plain ASP pages. Complete application source code is available for download including the code to upload and display uploaded files to the user in an eary to use and understand manner.
This article shows a simple way to upload files from client to server using VBS, IE and ADODB as multipart/form-data document. Full source code included.
This article illustrates some great uses of the File System Object. It shows how to choose a drive to search, and then builds a listbox of all the folders on that drive. Choose a folder and it builds a listbox of all the files in that folder. Choose a File and it will display it in the browser or prompt you to save the file to your hard drive.