DCC

 

DCC allows you to connect directly to another IRC client, instead of going through the IRC Network, to Send and Get files, and to Chat privately over a more secure connection.

 

On Send request

This option determines how mIRC behaves when someone tries to send you a file. By default, mIRC will pop up a dialog asking you if you want to accept the file, however if you select the Auto-get file option then mIRC will automatically accept the file. If you select Ignore All then all incoming dcc send requests are ignored.

 

If you choose to accept the file, mIRC will ask the sender to begin the file transfer, at which point you should begin receiving the file.

 

If someone tries to send you a file that already exists in your get directory then you will be shown a warning that the file exists. You then have the option to either overwrite the file, resume the transfer, or rename the file.

 

If you choose to overwrite the file then the whole file will be downloaded from the beginning and any existing file of the same name is erased.

 

If you select resume then mIRC will attempt to negotiate a transfer resume to get the remaining part of the file.

 

If Auto-get and File exists

In the case where you have turned on the Auto-get file option, and you already have a file of the same name in your download folder, you have the option of mIRC popping up a dialog to ask if you want to accept the file, or to automatically resume or overwrite the existing file.

 

Trusted Users

This section allows you to add a list of trusted nicknames, addresses, or user levels, from which mIRC will automatically accept dcc sends.

 

You can also use the /dcc trust [-r] <on | off | nick | address | level>[:network] command to change the trust list.

 

If you append :network to the address, where network is the network name, it will make the trust item network-specific.

 

Note: Please read about the dangers of Accepting Files on IRC before you accept files.

 

On Chat request

This option determines how mIRC behaves if someone sends you a chat request. By default, mIRC will pop up a dialog asking you if you would like to accept the chat request, however you can make mIRC automatically accept the chat request, or just ignore all incoming chat requests.

 

The /dcc nick -sgcf <oldnick> <newnick> command allows you to change the nickname associated with a dcc send/get/chat/fserve and is used in the dcc remote event definition.

 

DCC Options

 

On completion

When a file transfer is completed, or a chat session ends, you can make mIRC close the window automatically, as well as beep to audibly indicate the end of a dcc session. The beep options depend on the settings in the Event Beeps dialog.

 

Time-out in seconds

When a user sends you a Send or Chat request, a dialog pops up and waits for you to accept or decline. The Get/Chat Dialog time out value determines how long the dialog will wait for your reply before it closes.

 

During a file transfer mIRC will wait the number of seconds specified in the Send/Get Transfer Time Out settings for a response from the other client before closing the connection.

 

The Fileserver Time Out determines how long a user in a Fileserver session can remain idle before mIRC closes the connection.

 

Max Sends

This limits the number of simultaneous remotely initiated DCC Sends mIRC will handle.

 

Note: This applies to users who request a DCC Send remotely ie. via a script file or via the DCC Server, not if you initiate a DCC manually.

 

Show Warning

Displays the incoming file warning.

 

Passive DCCs

Initiates passive DCC sends and chats, which might help if you are having trouble sending or chatting to other users.

 

You can also use the /dcc passive [on | off] command to enable or disable passive dcc connections.

 

Minimize Sends

If enabled, dcc send windows will be minimized automatically.

 

Fill Spaces

Replaces spaces in long filenames with an underscore character. For more information read this.

 

Packet Size

The number of bytes that mIRC will send to another client in one packet.

 

DCC Folders

 

DCC Get Folders

This allows you to specify dcc get directories where received files will be placed according to their extension. Files which do not match any of the extensions you specify are placed in the default get directory.

 

If you specify a command to be performed when a file is downloaded, the $1- identifier refers to the filename.

 

You can manually redirect an incoming dcc send to a specific folder with /dcc get <folder>. You can use /dcc reject to reject the dcc send. Both of these commands must be called from within the CTCP event or the on DCCSERVER send event. $filename returns name of file.

 

DCC Ignore

 

Accepting or Ignoring files

This allows you to specify the types of files that you want mIRC to accept or ignore automatically when someone tries to send you a file.

 

You can also use /dcc ignore [on | off | accept | ignore] to turn this feature on or off.

 

Turn ignore back on

This option turns dcc ignore back on after a while if you manually turned it off temporarily in order to accept a file.

 

DCC Fileserver

 

Max. Fileservers

This limits the number of fileserver sessions that can be open simultaneously.

 

Max. Gets per user

This limits the number of simultaneous DCC Gets a user can request.

 

Total Max. Cps

This limits the maximum cps used by all dcc sends being sent by a fileserver.

 

The /dcc maxcps <N> command can be used to changed the Max Cps value on the fly.

 

Note: This setting is also applied to /dcc sends initiated in a script that responds to a server event. You can override this by using /dcc send -n which applies no cps limit.

 

Root folder

This specifies the root directory that a user will see when they first enter a fileserver initiated via the DCC Server. The user will be able to access all files and directories within this root directory.

 

Welcome text file

This specifies the welcome text file that will be sent to a user when they first connect to a fileserver.

 

Show fileserver warning

If this option is checked, the fileserver warning is displayed whenever the /fserve command is used to initiate a fileserver session. To learn more about fileservers see the File Server section.

 

DCC Server

 

The mIRC DCC Server listens for direct connections to your IP address from other mIRC clients.

 

Enable DCC Server

This turns the DCC Server on or off.

 

Listen on Port

The DCC Server listens on port 59 by default, however you can change this to another port number.

 

Listen for...

You can have the DCC Server listen for only certain types of connections, such as DCC Sends, Chats, or Fileserver requests. For example, if you turn off the DCC Chat listen option, the DCC Server will ignore any chat requests.

 

Perform DNS lookup

When someone connects to your DCC Server only their IP address is available for identification. If you check the DNS lookup switch, mIRC will perform a /dns on the IP address to try to resolve it to a named address.

 

Note: It can take anything from a second to more than minute to resolve an address depending on network conditions, and sometimes it may not resolve at all.

 

The /dccserver command

You can change the settings of the DCC Server from the command line using:

 

/dccserver [+|-scf] [on|off] [port]

 

You can Send/Chat to the DCC Server using the DCC Send/Chat dialogs and specifying an IP address instead of a nickname.

 

From the command line, you can use /dcc [send|chat|fserve] with an IP Address instead of a nickname to initiate a connection to the DCC Server.

 

Note: /dcc fserve only works for IP address connections and does not work via IRC.

 

Technical specifications

For a technical explanation of how various DCC protocols are implemented in mIRC see the pages Server, Resume, Socks5, and Long File Names.