FTP DELETE FILE This command will allow you to delete an ftp file from the current ftp directory.
Syntax
    FTP DELETE FILE Ftp Filename String
Parameters
    Ftp Filename String
String Filename string on the ftp site, You have connected to
Returns
This command does not return a value.
Example Code
    cls

     print "Your Own Server Only"

     print

     input "Enter Your Own URL>";url$

     input "Enter Username>";user$

     input "Enter Password>";pass$

     if get ftp failure()=0

     time#=timer()-time#

     print "Connection established in ";time#/1000.0;" seconds."

     ftp delete file "myoldfile.exe"

     else

     print "Could not connect to ";url$

     print "Error:";get ftp error$()

     wait 1000*6

     endif

     do:loop

     end
See also
FTP Commands Menu Index