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" %>
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count:
No votes so far! Be the first to rate this post.