Everyone knows FileServer Scripts, the EggDrop-Pages are full of them...
But have you seen a single script that recieves and stores a File from a User using DCC Send? I haven't.
I looked through the bind-Types of EggDrop, and afaik there is a bind for successfully Recieved Files (RECV). Hm, so I could check if I got the file.
But first I have to know if someone wants to send a file, what IP/port to use, and so on. Where do I get these Infos? Sure, a CTCP bind for DCC SEND could work, or a RAW bind for PRIVMSG with some CodeChars (\001) and DCC SEND.
And there is the Problem. I have no Idea how to "wait" for the file, and how to save it. Sending is easy, therefore we use "dccsend". But no "dccget", "dccrecv" or something?
I hope there's somebody out there that could help me.
Thanks in Advance.
Regards, BhaaL