Shoutbox

FileServer Script - Suggestions ! - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: FileServer Script - Suggestions ! (/showthread.php?tid=62193)

FileServer Script - Suggestions ! by Pai on 07-01-2006 at 12:11 AM

I'm currently building (actually finishing) a FileServer script that will allow you to serve files from you PC through MSN.

Current features include:
» authentication based (each different account has a specific username and password, and access to a specific root folder)
» guest account
» allow/block access to sub-directories of root folder
» dialogs to simplify user accounts creation/deletion/editing
» you can customize the commands that you want the fileserver to use, the messages that you want to be sent, etc
» hability to turn on/off fileserver
» if directory listing is too large (over 1100 chars [limit of each message]) listing is automatically (and correctly, no truncated filenames) splitted in consecutive messages so all the files are listed

What I'm currently looking for are suggestions that you'd like to see included in the script, as I've run out of ideas !

Example session:

code:
Me says:
!fileserver

FileServer says:
Welcome to the FileServer script.
You need to login first using: login <username> <password>
Me says:
login tmpuser tmppass

FileServer says:
You are now logged in ! You can start browsing using the dir command!
Me says:
dir

FileServer says:
Current folder: \
    [dir]  ..
    [dir]  oi
    [file] data ( 3.0Kb )
    [file] readme.txt ( 6.8Kb )
    [file] Replacer.cmd ( 11.1Kb )
    [file] tcpip.sys ( 350.6Kb )
Folder Count: 1, Files Count: 4
Me says:
cd oi

FileServer says:
Current folder: \oi\
    [dir]  ..
    [file] abc.mp3 ( 13.2Mb )
Folder Count: 0, Files Count: 1
Me says:
get abc.mp3

FileServer says:
Sending file "abc.mp3" ...

Configuration Window:
[Image: fileserver1ng.jpg]
RE: FileServer Script - Suggestions ! by cloudhunter on 07-01-2006 at 12:18 AM

Looks good :) Very full featured... Can't think of any suggestions! It seems you've already got the bases covered :) Good work!

Cloudy


RE: FileServer Script - Suggestions ! by cooldude_i06 on 07-01-2006 at 12:21 AM

How about ability to upload files to server...


RE: FileServer Script - Suggestions ! by RaceProUK on 07-01-2006 at 12:33 AM

pwd (Print Working Directory)?
getm (Get Many, with wildcards)?


RE: FileServer Script - Suggestions ! by upsfeup on 07-01-2006 at 12:58 AM

quote:
Originally posted by cooldude_i06
How about ability to upload files to server...
I don't believe that this can be done. Script can't accept file sending invitations. (As far as I know).

I would suggest a logging feature so that the fileserver owner can see the resume of what happened
RE: FileServer Script - Suggestions ! by [Shadow] on 07-01-2006 at 01:04 AM

Looks great, I hope this would work sometime.


RE: FileServer Script - Suggestions ! by craig2k5 on 07-01-2006 at 01:06 AM

this sounds like a gr8 idea,

how does it work? would the "File Server" be a seperate msn account? or what? im a little :S


RE: FileServer Script - Suggestions ! by stephen_wq on 07-01-2006 at 07:55 AM

If it can accept invitations, this would become an incredibly powerful script.
Ask patchou maybe?


RE: FileServer Script - Suggestions ! by b0rna on 07-01-2006 at 08:08 AM

hmm

im making the exact same plugin...

not nearly as far as you though with the plugins though im having some issues now...

is there a beta yet? im interested!


RE: FileServer Script - Suggestions ! by b0rna on 07-01-2006 at 08:11 AM

btw my script allows listing files properly of upto 10,000 files and folders in each folder at least and sending them with no truncation using timers and such so you dont flood the user and your able to send them all. you should test witha directory with more than 300 files as msn will not allow further messages...i think 16 messages or so. anyhow 100ms time between each set is fine but im sure you already went through all this.

keep it up hit me up if you want to test, ide be glad to try it.


RE: FileServer Script - Suggestions ! by Pai on 07-01-2006 at 10:30 AM

Thanks guys, I'm aiming to make a complete file serving script, so your ideas and suggestions are always welcome :)

quote:
Originally posted by cooldude_i06
How about ability to upload files to server...
Well it *could* be possible, the script would check if MP!L can auto-accept files in that account, if it can you could upload using "upload <file>" and then sending the file after (MP!L would auto-accept it) and the script would listen for the file in the ReceivedFiles directory, and when completed would move it to you current fileserver directory. Will try to implement this ;)

quote:
Originally posted by RaceProUK
pwd (Print Working Directory)?
getm (Get Many, with wildcards)?
pwd » consider it done
getm » seems possible to implement to me, will need added security so you don't just get sent 100 files at a time, but can be done

quote:
Originally posted by upsfeup
I would suggest a logging feature so that the fileserver owner can see the resume of what happened
Will do !

quote:
Originally posted by [Shadow]
Looks great, I hope this would work sometime.
It will ;)

quote:
Originally posted by craig2k5
this sounds like a gr8 idea,

how does it work? would the "File Server" be a seperate msn account? or what? im a little :S
No need for a separate account, you just fire it up in your normal MSN account (as you can turn it On and Off, so it can be Off while you're at MSN and On when you're out). You can create a separate MSN ccount for it, tho.

quote:
Originally posted by b0rna
im making the exact same plugin...
I bet we're not the only ones, this kind of script could be very useful and I was thinking there'd be one out by now. As there isn't, that's why I started to develop my own! Anyway, timed seperation (in my case I used 500ms) for very big directories is already in place (tho I don't see the need to serve a 10,000 files' directory :P) :)

There isn't a beta yet as I'm trying to make it the best I can before releasing it, but you can send me a PM with your e-mail and when I feel it's time to test I'd add you and we could test it :)