ASP MoveFile Method Last Updated : 23 Feb, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The ASP MoveFile Method is used to move one or more files from one place to another place. It is an in-built method of the FileSystem Object. Syntax FileSystemObject.MoveFile source,destination Parameter Values: source: It is a required attribute. It contains a Character string file that can include wildcard characters, for one or more files to be moved. destination: It is also a required attribute. It specifies a character string value Where to move the file or files. It does not include wildcard characters. Example: Below code illustrates the ASP MoveFile Method. ASP <% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") fs.MoveFile "C:\Folder1\A\A.txt","C:\Folder2\B\" response.write("The location of the file is changed") set fs=nothing %> Output: The location of the file is changed Comment More infoAdvertise with us Next Article ASP Server.Transfer() Method M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Methods ASP-Basics Similar Reads ASP MoveFolder Method The ASP MoveFolder Method is used to move one or more folders from one place to another place. It is an in-built method of the FileSystem Object. Syntax: FileSystemObject.MoveFolder source,destination Parameter Values: source: It is a required attribute. It contains a Character string file that can 1 min read ASP Move() Method The ASP Move Method is used to move the specified file or folder to the given destination. Syntax: For File object: FileObject.Move(destination) For Folder object: FolderObject.Move(destination) Parameters: This method has a single parameter as mentioned above and discussed below: destination: It sp 2 min read ASP Server.Transfer() Method The ASP Server.Transfer Method is used to send all the information that has been created in one asp file to another .asp file. Note that the control will not return to the ASP page from where it was transferred when the second ASP page completes executing its tasks. The transfer includes built-in ob 1 min read ASP Copy() Method The ASP Copy Method is used to copying one specified file or folder from one place to another place. The overwrite attribute can be specified to prevent or allow the overwriting of files during the copy operation. Syntax: For File Object: FileObject.Copy(destination, overwrite) For Folder Object: F 2 min read ASP Delete Method The ASP File.Delete Method is used to delete a particular file or folder from a system. Syntax For file object:FileObject.Delete[(force)]For folder object: FileObject.Delete[(force)] Parameter Values: force: It is an optional attribute. It contains a Boolean value which indicates that whether a re 1 min read ASP DeleteFile Method The ASP DeleteFile Method is used to delete one or more files from the server. It returns an error if we want to delete a non-existing file. Syntax: FileSystemObject.DeleteFile(filename[,force]) Parameter Values: filename: It specifies the name of the file which you want to delete.force: It is an o 1 min read Like