mIRC Home    About    Download    Register    News    Help

Print Thread
How to make MIRC to not overwriting ... #76696 25/03/04 09:12 PM
Joined: Mar 2004
Posts: 10
R
romVsen Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Mar 2004
Posts: 10
downloaded file? I wrrote a script that looking for user to be online to send him cttp command. I set "resume " option.

Suppose, I get the file. But script is still working... User is offline and then online again. It seems that MIRC attamting to overwrite already downloaded file in that case.
Am I right?


Re: How to make MIRC to not overwriting ... #76697 26/03/04 09:34 AM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
If your mIRC DCC options are set the auto-accept the file and resume when it's already there, mIRC will resume and not overwrite. A script could override this, but we wouldn't know about your script doing or not doing so.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Re: How to make MIRC to not overwriting ... #76698 26/03/04 11:05 AM
Joined: Mar 2004
Posts: 10
R
romVsen Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Mar 2004
Posts: 10

Wow! Nice (both reply and picture :-) )!

Well, the script is really simple one

I did the following:
1. In “Perform on connection” I type
/ctcp <USER NAME HERE> xdcc send #<NUMBER HERE>

2.. In “Remotes” I type
on 1:JOIN:#:{
if ( <USER NAME HERE> isin $nick) /ctcp <USER NAME HERE> xdcc send #<NUMBER HERE>
}

I have feelings that MIRC does overwriting because when I start MIRC (the file in question is already downloaded!) I see dialog window where MIRC trying to resume AND PROGRESS BAR IS QUICKLY RUNNING FROM BEGINNING TO THE END.
The file is really small so I can’t understand what’s happening: just file identification to make MIRC’s mind is resume needed or MIRC really downloads it again.

Roman