What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] FileServer Script v1.1.2

Pages: (21): « First [ 1 ] 2 3 4 5 » Last »
4 votes - 5 average   [Release] FileServer Script v1.1.2
Author: Message:
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. [Release] FileServer Script v1.1.2
This script allows you to serve files from your messenger account ! Just add an user, specify a password and a root folder, and he can instantly access it through your MSN account !

The script will be submited to the Official Script Database after I'm sure it's ready to be fully distributed !

Todo List for next version:
  • Multi-language script (if you want to help translate, read my post in the second page)
  • Statistics (total number of users accessed, total filesize shared, total filesize transfered, etc)
  • Add an reference number before each file when "!dir" is used, so the user can type "!get <number>" without having to type the whole filename

Things I want to include but dunno when I'll actually do them :P:
  • Ability to get everything inside a folder, including subfolders, by ziping it and sending to the user
  • PSM change when FileServer is active (add "[FileServer: On]" or whatever)

Features:
  • User based authentication allows different users to browse different directories
  • Automatic logout of the users due to inactivity after a period customizable by the server owner
  • All the commands you are used to (and then some more), and the ability to customize them to your taste
  • Logging of FileServer sessions to file, and a custom Log Viewer
  • Update checker (every once a day, if an update is available it is automatically downloaded and the user is asked to install)
  • Can list directories with several files (500ms [customizable] between each message to prevent flood) (Attention: View Problem 1)
  • Supports wildcard browsing and downloading
  • Turn FileServer, Logging and Update Check On and Off
  • User-friendly dialogs to help you configure the script, add and edit users easily
  • Your configuration won't be lost if an update is installed

Commands:
  • !fileserver - Welcome command, can be used to check if the FileServer is active
  • !login <user> <pass> - logs the user in
  • !dir - list the current directory's content. supports wildcards
  • !cd - browses to the specified directory. supports "cd .." to go back one directory and "cd \" to go back to the root folder
  • !get - get the specified file
  • !getm - gets files that match the criteria (wildcards). it has a limit to the number of simultaneous files that can be sent, set by the FileServer owner
  • !pwd - prints your working directory, as well as the number of folders and files in it. this command is always triggered when you change directory (cd command)
  • !listcommands - Will show a list of the commands available to the user browsing the FileServer
  • !logout - logs the current user out

Problems:
  • 1) Due to an internal MP!L anti-flood mechanism, only 14 consecutive messages can be sent. Therefore, if you try to list the contents of a very large directory that needs to be splitted to over 14 blocks, you'll only receive the first 14 messages (each message contains about 15 files, therefore try not to list directories with over 200 files)

Screenshot:
[Image: fileserver4ox.jpg]


ChangeLog:
  • v1.1.2
  • !cd command wouldn't work properly
  • v1.1.1
  • Huge Security Fix (!cd ..\..\..\etc allowed to browse the whole disk)
  • v1.1
  • Added a couple of commands (!listcommands and !logout)
  • Auto-logout feature
  • Minor fixes
  • v1.0
  • Initial Release

Please post your comments, suggestion and bugs here !
THANKS !

Note: the file provided for download will always be the same (version 1.0), as the script will automatically update to the latest version available :)

» Download it HERE !

This post was edited on 07-22-2006 at 05:35 PM by Pai.
07-06-2006 10:30 PM
Profile PM Find Quote Report
craig2k5
Junior Member
**


Posts: 64
Joined: Feb 2006
RE: [Release] FileServer Script
how do actualy do anything.. "!fileserver" dosent do anything :s
07-06-2006 11:08 PM
Profile E-Mail PM Find Quote Report
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. RE: [Release] FileServer Script
Well, of course it doesn't, it's not you that's supposed to browse your own fileserver, it's your contacts :P The script doesn't accept browsing commands comming from you :)
07-06-2006 11:12 PM
Profile PM Find Quote Report
Ezra
Veteran Member
*****

Avatar
Forgiveness is between them and God

Posts: 1960
Reputation: 31
37 / Male / Flag
Joined: Mar 2003
RE: [Release] FileServer Script
Works fine for me, had a little trouble finding the menu, later found out by reading the code itself that you only display it in the contact list :d
[Image: 1-0.png]
             
07-06-2006 11:14 PM
Profile PM Web Find Quote Report
S4mP410
Junior Member
**

Avatar

Posts: 18
Joined: Jul 2006
RE: [Release] FileServer Script
I love it ! :grin:
07-06-2006 11:45 PM
Profile E-Mail PM Web Find Quote Report
Jiggs
Full Member
***


Posts: 100
38 / Male / –
Joined: Jun 2006
RE: [Release] FileServer Script
is it possible to make this work with shortcuts? so if someone "gets" a shortcut, it actually sends the file it points to. i ask, because i tried to share my music folder, but its got HUNDREDS of album pictures as hidden files. so it started sending all of those in the list. had to quit the convo to stop it. so, if i could make a seperate folder, with shortcuts to the song files, it would be great.
07-07-2006 12:11 AM
Profile E-Mail PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: [Release] FileServer Script
quote:
Bug :p

SonicSam says:
ZAIM AH GAD
SonicSam says:
NEW ACCAOINT
      jren207          .com     says:
     
SonicSam      auto-message: Playing Xbox (Halo 2)
SonicSam says:
do I delete the other one  ?
      jren207          .com     says:
get back to your xbox! 
SonicSam says:
You can't use that command before logging in!
      jren207          .com     says:
not yet lol
SonicSam says:
wtf 
      jren207          .com     says:
but eventually 
SonicSam says:
ok
      jren207          .com     says:
what command!?
SonicSam says:
no idea 

I think it interferes with

quote:
Originally posted by Pai
get - get the specified file

Any way to fix :S?

This post was edited on 07-07-2006 at 01:24 AM by prashker.
07-07-2006 01:23 AM
Profile PM Find Quote Report
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. RE: [Release] FileServer Script
Uhm, yes I can make it ignore commands instead of sending an error message if the user isn't logged in :P

Or, I could change the default commands to something like !get and then this wouldn't happen !

What do u think ?
07-07-2006 01:30 AM
Profile PM Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: [Release] FileServer Script
quote:
Originally posted by Pai
What do u think ?



I think
quote:
Originally posted by Pai

Or, I could change the default commands to something like !get and then this wouldn't happen !


would be better (y)
07-07-2006 01:44 AM
Profile PM Find Quote Report
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
O.P. RE: [Release] FileServer Script
Updated, now all commands start with an exclamation point by default :)

Remember, as the script was designed to not delete your configurations when being updated, and as commands can be custom they won't be overwritten on updates, you need to delete the script completely (using MP!L preferences) before installing the fix :P
07-07-2006 01:59 AM
Profile PM Find Quote Report
Pages: (21): « First [ 1 ] 2 3 4 5 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On