Need help scripting version of mIRC's get dialog! - 24/08/03 08:46 PM
Hi all,
Ok, you know how when you go to mIRC's dcc options, u can select the option to have it pop up the get dialog if the file exists? Then when u get a file, the get dialog pops up and then if u want to, you can accept the file, but rename it, so that if someone sends u file.ext , you can save it as file(1).ext ?
Ok, so how would I go about scripting this? I dont' want to have to be at my computer when the get dialog pops up, but I still want to be able to rename the files. Now, yes , i do know that I could download the file to a temp directory, then rename it after it completes, and move it back to the main directory. But I really wanted to avoid moving files after download. Also, I just want to do what mIRC will do, only automate it.
I've been trying to use ctcp events, but I can't figure out, when you get the dcc send file ip port size, how you are supposed to respond to get the file, or to get the file and rename it.
Any ideas??? I'd be soo appreciative
Thanks.
Z
Ok, you know how when you go to mIRC's dcc options, u can select the option to have it pop up the get dialog if the file exists? Then when u get a file, the get dialog pops up and then if u want to, you can accept the file, but rename it, so that if someone sends u file.ext , you can save it as file(1).ext ?
Ok, so how would I go about scripting this? I dont' want to have to be at my computer when the get dialog pops up, but I still want to be able to rename the files. Now, yes , i do know that I could download the file to a temp directory, then rename it after it completes, and move it back to the main directory. But I really wanted to avoid moving files after download. Also, I just want to do what mIRC will do, only automate it.
I've been trying to use ctcp events, but I can't figure out, when you get the dcc send file ip port size, how you are supposed to respond to get the file, or to get the file and rename it.
Any ideas??? I'd be soo appreciative
Thanks.
Z