My last request was easy... now I'm asking something more dificult...
My hub has a server, and the owner of that server isent allways on the PC (allmost never...) .
When we want to update some scripts or even add new ones, we must wait for our host to get on the PC... Its very dificult...
Is there a way to make a script that lets us upload files to the Scripts folder of the server ? Something like
!upload c:/Scripts/Script.lua
Thank you very much.
Why not try to set up a Ftp Server?
QuoteOriginally posted by Ma?t?r_JO
My last request was easy... now I'm asking something more dificult...
My hub has a server, and the owner of that server isent allways on the PC (allmost never...) .
When we want to update some scripts or even add new ones, we must wait for our host to get on the PC... Its very dificult...
Is there a way to make a script that lets us upload files to the Scripts folder of the server ? Something like
!upload c:/Scripts/Script.lua
Thank you very much.
setting up a ftp like tecmaster suggested is the best idea.
it would work but then in combination with a bcdc based client.
this opens the script and sends it 2 ptokax, which in turn saves it as file.
better 2 just add the ftp as a fav and upload (also more secure as encryption can be used).
plop
yah could work, but theres still the question of restarting the scripts, ptokax wont do it on its own !!, so ull just upload it and let it rest, mayb restarting the hub remotely could help!!!
In ptokax there is a command for restarting both the hub and the scripts
!restart restarts the hub
!restartscripts restarts the scripts (restarts them all though, not always something thats prefered)
if you have a profile thats allowed to do it
seting up radmin (or some other remote control prog) would allow you to both transfere files and login to the computer and work with things as if it was on your computer
QuoteOriginally posted by Anna
In ptokax there is a command for restarting both the hub and the scripts
!restart restarts the hub
!restartscripts restarts the scripts (restarts them all though, not always something thats prefered)
if you have a profile thats allowed to do it
seting up radmin (or some other remote control prog) would allow you to both transfere files and login to the computer and work with things as if it was on your computer
indeed , i had forgotten about that, when i wrote that i was thinking about a request(which they asked me 2 script it and add a timer).
I had to use an alternative, because theres no such thing in the api(at least i didnt c it), :D
You have to understand the following: while you are u/ling through script, users cannot chat, connect to the hub, connect to each other. If you have a baaaaaaad u/l, it can be fatal. :rolleyes:
QuoteOriginally posted by bastya_elvtars
You have to understand the following: while you are u/ling through script, users cannot chat, connect to the hub, connect to each other. If you have a baaaaaaad u/l, it can be fatal. :rolleyes:
your forgotting that on many scripts the chat limits should be disabled.
plop
An FTP is a great idea, and I even tryed to do that, but the conection here is too slow, and anyone could damage our hub with an FTP server, or even steal bandwight... Runing an FTP server on the same host, is like hosting Google and Ocean Wide on the same PC (its P4 3.2 with 512 MB of RAM with a VERY slow connection) ... isent there any way that a script can do that ?
QuoteOriginally posted by Ma?t?r_JO
An FTP is a great idea, and I even tryed to do that, but the conection here is too slow, and anyone could damage our hub with an FTP server, or even steal bandwight... Runing an FTP server on the same host, is like hosting Google and Ocean Wide on the same PC (its P4 3.2 with 512 MB of RAM with a VERY slow connection) ... isent there any way that a script can do that ?
Well, I used to work with UltraVNC that is "... is a great and famous remote controle, multi-OS tool..." to solve those server problems.
That's just an example, because there are other programs like that one.
Cheers
QuoteOriginally posted by Ma?t?r_JO
An FTP is a great idea, and I even tryed to do that, but the conection here is too slow, and anyone could damage our hub with an FTP server, or even steal bandwight... Runing an FTP server on the same host, is like hosting Google and Ocean Wide on the same PC (its P4 3.2 with 512 MB of RAM with a VERY slow connection) ... isent there any way that a script can do that ?
this is not true.
a good ftp server is more secure then windows will ever be.
and it can lock accounts 2 an ip (range).
and protection against brute force password crackers.
plop
And what about the speed ?
That will slow down the hub... we have the worst connection you can imagine... the downloads run at about 10kbps.... sometimes bps.... an FTP server allways on will slow it down... we use windows....