How to delete a file on Windows IIS Server using Persits ASPUpload.

Created a page called hyve.txt in your webroot, also create a 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"

%>

Back to Persits ASPUpload

All Pages

Email

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

ASP.NET

Persits ASPUpload

Wiki Help

  Page Info My Prefs Log in
This page (revision-3) last changed on 12:53 07-May-2007 by Administrator.
 
Page Hit Count: 50

Referring Pages:
...nobody

JSPWiki v2.4.71