I need a bot to write to a temp file send that fiel via dcc then delete it is it even possible?
I understand how to write to a file and I also know how to dcc that file but what about delete the file is it possible?
Would I need to set a time to delete the file or could I do it after use?
Im sorry if this has been posted before but its hard to know how best to find an answer to this one. The word delete has been used many times as has the word temp or temporary.
ShavdApe wrote:I need a bot to write to a temp file send that fiel via dcc then delete it is it even possible?
I understand how to write to a file and I also know how to dcc that file but what about delete the file is it possible?
Would I need to set a time to delete the file or could I do it after use?
Im sorry if this has been posted before but its hard to know how best to find an answer to this one. The word delete has been used many times as has the word temp or temporary.
I have one script that I wrote for my own use, that can delete a file.
The line is similar to this:
if [ file exists $_filename ] {file delete $filename }
Since you said you can write to a file, that means you KNOW where the file is, and how to find it. .... you won't have any problems with deleting something you don't want to delete.
lol typical that it would be that easy I expected the solution to be a little more difficult than that thanks for the reply appreciated. Havent tested it but if its that easy to delete then Im sure it will be fine.
ShavdApe wrote:lol typical that it would be that easy I expected the solution to be a little more difficult than that thanks for the reply appreciated. Havent tested it but if its that easy to delete then Im sure it will be fine.