Category: ASP
How to delete a file on Windows IIS Server using Persits ASPUpload:
Create a page called hyve.txt in your webroot. Create another page called hyve.asp in your webroot. Add the following code to it and surf to hyve.asp. The file hyve.txt should be deleted successfully.
<% Set Upload = Server.CreateObject("Persits.Upload.1") Upload.LogonUser "", "ftpusername", "ftppassword" Upload.DeleteFile server.mappath(".") & "hyve.txt" %>
Tags:
ASP ASPUploads