Internet Direct (Indy)
Home
PreviousUpNext
TIdFSP.Delete Method

Deletes a specified file on the remote FSP host.

Pascal
procedure Delete(
    const AFilename: string
);
Parameters 
Description 
AFilename 
File name to delete on the remote FSP host. 

Delete is a procedure used to delete the file specified in AFilename on the remote FSP host. Delete calls the SendCmd method using the FSP CC_DEL_FILE command and the null-terminated value in AFilename. 

Delete can raise a EIdFSPProtException exception if the file in AFilename does not represent a valid exisitng file name on the remote FSP host. 

Use Get to retrieve a fileon the FSP host. 

Use Put to store a file on the FSP host.

SendCmd 

Get 

Put

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.