NameSilo

How do I run a script on webserver?

Spaceship Spaceship
Watch

PS-NP

Established Member
Impact
19
I have a file called cleanup.sh I need to run it on a directory on my server to delete a big list of files... does anyone know how to run such a script? If i point the web browser to this file eg. I've uploaded it to www.mydomain.com/dir/cleanup.sh - all it does it prompt me to save the file...

Is there a specific way to run scripts? Thru cpanel? FTP? Any ideas?

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
I think you need ssh access to run a shell script.
 
0
•••
SH Scripts are not run via a web browser. You will need to log into your host via telnet or SSH and execute the script. Contact your host for information
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back