Wednesday, November 16, 2011

Transfering Files on IRC


File Transfer

In addition to talking, IRC has also become a popular and convenient way to exchange a wide variety of files. Be forewarned, however, that many people are getting into serious trouble by downloading files that seem interesting or enticing, only to find out they are trojan horse attacks. These hacks allow strangers to take over your channels, force you to disconnect, erase your hard disk, or worse. The moral is clear: Never accept candy from strangers. For more information, see our Downloading Files from IRC guide.
DCC SEND and GET
Like with DCC chat described above, DCC file transfer requires an exchange of commands between the sender and getter of each file. For example, if you as "YourNick" want to send the file "foo.jpg" to your friend "buddy", you would type: /DCC SEND buddy foo.jpg *** Sent DCC SEND request to buddy If you specify the filename without a directory path, it will assume the file is in the default directory. For mIRC that is usually c:\mirc and for ircII it is usually your home directory. If the file is somewhere else, you will need to specify the path to that file, such as: /DCC SEND buddy c:\other\directory\foo.jpg Now for buddy to get the offered file. If he is using mIRC, a dialog will open asking him whether he wishes to accept the file, cancel the offer, or even ignore the offerer. In ircII, buddy will see the following request and types this in response: *** DCC SEND (foo.jpg 180) request received from YourNick /DCC GET YourNick You will then see the following as the DCC connection is established and the transfer eventually completed. On the other end, buddy sees something similar too. *** DCC SEND connection to buddy[123.4.56.78,54321] established *** DCC SEND:foo.jpg to buddy completed 1.234 kb/sec

source: http://www.irchelp.org

0 komentar:

Post a Comment