Setting up a file server


This section shows how to set up a file server. So far there is only a section for Polaris CTCP script. I'm waiting for input from people who use other scripts for serving.

*Note: The Polaris script used as an example here is built on CTCP2002 and mIRC6. Other Polaris versions have slightly different names, and may lack settings, but all the basic settings are the same.

You can get this script from here.

Other useful script for file serving is Sysreset. I'm not writing a guide for it, because the help file covers everything you need to know. (help -> help files -> sysreset.hlp)
Note that I suggest using sysreset for file serving. It's the least spammy script I know of, it has excellent file server capabilities, and can even go around firewalls/routers. Polaris is slightly old, and not really so good for serving, so unless you're completely help-file-illiterate, get sysreset.

*Note: It's generally advisable to use scripts with ctcp triggers enabled to avoid channel spam. Unlike some seem to think, you can't just add /ctcp to your trigger. The script you're using must support them, so make sure that you have correct script before serving. And the script set up correctly.

File server settings for polaris


First thing to do is open the script settings menu. This is either Soldats IRC, as in my example script, or Polaris IRC if you're using original polaris. Open this menu, go to script settings and select file server.



After choosing the option, following dialog box will open



Here you must set following settings:

Max sends - set this value according to how much upstream you have. good value could be ~30kbytes/send or more. (The 2 values mean: each = how many sends each person using your fserv can have at once, total = how many total sends you have)

Max queues - this depends again on how much upstream you have. Slow servers should setlow queues, while faster can set up to whatever value they like. (The values here are same as in sends).

Enable on start - if the channel you're serving in requires silent file servers, be sure to uncheck this.

CTCP triggers - if this option is available, check it. Older Polaris CTCP adds the ctcp part automatically, so you don't have to worry if you don't have the option.

Max users - how many users can be in file server chat with you at same time

*Note: old Polaris scripts have Channels dialog here. Since it is displayed on next picture, I'll leave the explanation there.

After setting these, click on the Trig #1 tab.



Here you can set your trigger and file serving folder. Just put whatever you like to Trigger part, the script will add ctcp to it. To select your server's root folder, click on the button next to Root Directory and browse to the correct folder.

*Note: the file server automatically inherits all subdirectories you have, so make sure you have only the files you want to share in your folder. Ask in the channel if there are any restrictions to what you can serve!

Here is also the channels dialog. You can either add each serving channel manually if you want to restrict the channels the server is on, or check All channel. To add channels, just type their name (don't forget the #) in the dialog and press Add

You can add as many triggers as you want (and the script can do). When you're done, press OK

Next choose Fserve admin from the Soldats/Polaris IRC menu.





In this menu, choose the last tab. These settings aren't really necessary, but you might want to set at least some of them at some point.

Next right click on a channel window. Choose Advertisements > File server > Silent. Your status screen or the channel window should show a message "File server has been started".



Now your file server is up and running.