Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (440 points)
Is it possible in code to control the Delete prompt I get when I right click on a file in the FtpRemoteFileList? I'd like to prompt my user on the first file out of several selected and then let them decide whether they can to continue to be prompted for each of the other files being deleted.

Thank you!

2 Answers

0 votes
by (51.6k points)
Yes. Set FTPRemoteFileList.PromptOnDelete to false and handle the FTPRemoteFileList.DeletingFile event. Pop up a confirmation dialog in the event-handler and set e.Cancel to true to abort the deletion process.

- Hans (EnterpriseDT)
0 votes
by (440 points)
Thank you, Hans!

Categories

...