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

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.