Topic Path: Symbol Reference > Classes > TIdFSP Class > TIdFSP Methods > Delete Method
ContentsIndexHome
PreviousUpNext
TIdFSP.Delete Method

Deletes a specified file on the remote FSP host.

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

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.