This script _requires_ psyBNC. Setting it up: Configuring DCCgetter to work on your system is really simple. Edit the file "dccgetter.conf" and remember that you must have write permissions on "DOWNLOAD_DIR" and "TMP_PATH". Then open "dccacceptresume.py" and "dccgetter.py" and change "CONFIG_FILE" to the path of your "dccgetter.conf". Finally, add these lines to your psybnc script, changing the last fields to fit your system's paths: --- cut here --- dccsend * *!*@* * * /home/asus/dccgetter/dccgetter.py server PRIVMSG *!*@* * "?dcc accept *" /home/asus/dccgetter/dccacceptresume.py --- cut here --- If you are not using any script or if you don't know how to script psybnc, don't worry. Just enter your psybnc directory; there should be another directory, called "scripts" and here you have to create a file in the form USERnn.SCRIPT, where nn is the number of the user, corresponding to the number in "psybnc.conf", with no leading zeros (e.g. User1 has to use USER1.SCRIPT). Now fill the file with the lines above, paying attention to set the right paths, invoke the psybnc "sreload" command (usually by typing /sreload or /raw sreload on your irc client) and you are done. Usage: The "dccenable" psybnc switch allows you to enable/disable DCCgetter on the fly (namely, "/raw dccenable 1" makes psybnc use DCCgetter, while "/raw dccenable 0" lets your irc client handle DCCs). Please note that you DON'T HAVE to use the DCCGET command to receive the file, DCCgetter will manage the dcc request and transfer for you. Example: [this is a snippet from a query opened by psyBNC] <-psyBNC> baph sent a DCC File Send Request for File foo.bar. Use /DCCGET baph :foo.bar to receive the file. (83.173.238.167/11033). <-psyBNC> Sat Apr 23 17:51:00 :[2990/nobody]: Accepting foo.bar <-psyBNC> Sat Apr 23 17:51:00 :[2990/nobody]: foo.bar - 1% #___________________| 2.73 kB/s <-psyBNC> Sat Apr 23 17:51:01 :[2990/nobody]: foo.bar - 10% ###_________________| 8.21 kB/s <-psyBNC> Sat Apr 23 17:51:01 :[2990/nobody]: foo.bar - 20% #####_______________| 8.30 kB/s <-psyBNC> Sat Apr 23 17:51:02 :[2990/nobody]: foo.bar - 30% #######_____________| 8.54 kB/s <-psyBNC> Sat Apr 23 17:51:02 :[2990/nobody]: foo.bar - 40% #########___________| 8.92 kB/s <-psyBNC> Sat Apr 23 17:51:03 :[2990/nobody]: foo.bar - 50% ###########_________| 8.05 kB/s <-psyBNC> Sat Apr 23 17:51:03 :[2990/nobody]: foo.bar - 60% #############_______| 8.68 kB/s <-psyBNC> Sat Apr 23 17:51:04 :[2990/nobody]: foo.bar - 70% ###############_____| 9.03 kB/s <-psyBNC> Sat Apr 23 17:51:04 :[2990/nobody]: foo.bar - 80% #################___| 9.33 kB/s <-psyBNC> Sat Apr 23 17:51:05 :[2990/nobody]: foo.bar - 90% ###################_| 8.83 kB/s <-psyBNC> Sat Apr 23 17:51:07 :[2990/nobody]: foo.bar - 100% ####################| 6.60 kB/s <-psyBNC> Sat Apr 23 17:51:08 :[2990/nobody]: foo.bar - 50000 bytes received in 7.67 seconds Problems: Sometimes the script stops logging in query. This is due to a psybnc bug (I think), in fact it closes some file descriptors preventing DCCgetter from outputting text to the irc client. I'll add the chance to log to a text file in the next version if you really need this feature. ------------------------------------------------------------------------------- Please send feedback and bug reports to: asus@asus.homelinux.com asus.tin@virgilio.it