Hello. First of all I'm new to any kind of server management or network configuration, and the most access I have to the server is FTP access; someone else rents the server and I don't believe he has remote desktop access. I have uploaded an executable program to the server and I want to launch it so it runs on the server autonomously. My question is how can I possibly achieve this?
Thanks in advance.
P.S.
Would it be possible to use a PHP script that runs when the server comes online that launches the program?
Trying to launch program on remote server
Page 1 of 14 Replies - 986 Views - Last Post: 30 May 2012 - 03:02 PM
Replies To: Trying to launch program on remote server
#2
Re: Trying to launch program on remote server
Posted 30 May 2012 - 12:41 PM
NO. Bad. Evil. Sounds more like you want to do something malicious.
A client should never have the ability to just force an exe they uploaded to run on the server. Would you want someone to upload a virus or a hard drive formatter then run it and nuke your drives?
If you only have FTP access then that is all the owner of the server wants you to have. If you were the owner, manager of the server then you would have more access and have the ability to do what you want.
A client should never have the ability to just force an exe they uploaded to run on the server. Would you want someone to upload a virus or a hard drive formatter then run it and nuke your drives?
If you only have FTP access then that is all the owner of the server wants you to have. If you were the owner, manager of the server then you would have more access and have the ability to do what you want.
#3
Re: Trying to launch program on remote server
Posted 30 May 2012 - 01:24 PM
I'm guessing that this is on shared hosting. You're not supposed to be able to run executables on shared hosts. You're granted web hosting access and FTP access only.
If you 1) know the physical path of the FTP directory on the disk and 2) the user the website is running under had permissions to read and execute files at that location, then you'd be able to use a web script to run it. If you don't have either of those things, then you shouldn't be trying to run the executable in the first place.
I don't know if this is malicious intent or not, it could just be someone new to shared hosting.
If you 1) know the physical path of the FTP directory on the disk and 2) the user the website is running under had permissions to read and execute files at that location, then you'd be able to use a web script to run it. If you don't have either of those things, then you shouldn't be trying to run the executable in the first place.
I don't know if this is malicious intent or not, it could just be someone new to shared hosting.
#4
Re: Trying to launch program on remote server
Posted 30 May 2012 - 02:23 PM
Well if they are that new, then they still have no business trying to run an application on the server.
#5
Re: Trying to launch program on remote server
Posted 30 May 2012 - 03:02 PM
It's become moot anyway. Thanks for the info.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|