Deleting files on ftp site, with zero size (wodFtpDLX / wodFtpDLX.NET)
I think you cannot use our internal functions for automation. What I think you could od is do a ListDir, and then, when you have all the information about files and their sizes, put ones you want to download in some local collection. And then
while (collection.size > 0)
ftp1.deletefile collection[0]
collection.erase(0)
end while
so, as long as there are elements (ones you put there, by your decisions) delete them.
That's one of possible ideas.
Kreso
Complete thread:
- Deleting files on ftp site, with zero size - scots, 2014-01-31, 20:22
- Deleting files on ftp site, with zero size - wodSupport, 2014-01-31, 20:58