Can I use the FTP del file command to delete all files in a directory, e.g *.*
I have tried this already but it didn't work. It works on a single file.
Is this supposed to be possible?
Thanks in advance
FTPDELFILE
Moderators: Dorian (MJT support), JRL
Hi,
No this is not possible. Use FTPGetDirList to get a list of the files and then use a loop with FTPDelFile to delete each one in turn.
This is precisely how ftp clients implement wild card functions.
No this is not possible. Use FTPGetDirList to get a list of the files and then use a loop with FTPDelFile to delete each one in turn.
This is precisely how ftp clients implement wild card functions.
MJT Net Support
[email protected]
[email protected]