Need help in fetching file from a folder in server and display.

Need help in fetching file from a folder in server and display.

am 06.05.2011 08:38:45 von meaculpa

Hi,

I am developing an automation tool, where users can upload the script
to webserver and they can select any of the uploaded script and
execute the script.

I was able to upload the scripts to webserver. But i am not getting
any idea to display the scripts from server. Like my requirement is :
user can open the folder and select which file he needs to execute.

Please help me by letting me know how can we do it.

Regards,
Garry


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: Need help in fetching file from a folder in server and display.

am 06.05.2011 09:32:23 von Jeff Pang

2011/5/6 meaculpa :
> Hi,
>
> I am developing an automation tool, where users can upload the script
> to webserver and they can select any of the uploaded script and
> execute the script.
>

I hope this is not a creacker behavior.
But you could upload the files with Net::FTP.
If you don't have the SSH or telnet access to the server, you can't
run the scripts.
The webserver can execute the scripts if it has been setup correctly,
for example, you are uploading the scripts to cgi-bin directory, and
the scripts are execuable, then webserver can execute them when you
request them from the browser.


--
Jeff Pang
www.DNSbed.com

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/