Ask a Question related to PERL Miscellaneous, Design and Development.
-
dan baker #1
possible to execute system command on remote host?
I have a couple clients with domains on a remote host that uses cPanel
for domain management. I use a basic old version of ws_ftp to
upload/download files. So far everything has been mostly fine.
Lately the host has gotten increasingly slow in making minor tweaks to
accounts; such as creating a symbolic link to the statistics directory
which is not under the www dir by default for instance. what I am
wondering is if I can use a perl script to execute a system command
like:
ln -s testlink somedir
possible?
d
dan baker Guest
-
Read user log from a remote host
Hi, Just looking for soem guidance on the above topic,Reading a remote hosts suer log. basically what i am trying to do is get the suer to enetr... -
Problem deploying to remote host
I'm having trouble deploying a flex beta 3 project - which works fine locally - to a remote host I am putting myProject.html and myProject.swf in... -
how to execute command on remote machine
Hi: I want run perl script on machine A, A: ./test.pl ../test.pl will ssh to machine B execute command (cd dirB; runB &), then ssh to machine... -
RUN/execute a Command-Line command from an ASP page
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
RUN/execute a Command-Line command from an ASP page.
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
Matt Garrish #2
Re: possible to execute system command on remote host?
"dan baker" <botfood@yahoo.com> wrote in message
news:13685ef8.0308091150.4f486754@posting.google.c om...Anything is possible, but in your case probably not likely to work. Since> what I am
> wondering is if I can use a perl script to execute a system command
> like:
> ln -s testlink somedir
>
you don't mention shell access, and as it wouldn't have necessitated your
posting here, I'll assume that that is not an option. So, all you can do is
create a mini script that attempts that system call and see whether it
succeeds or not (call it up in your browser of choice, since you have no
other way of executing scripts remotely). What luck you will have depends on
what commands your host has given access to to the anonymous web user (and
allowing users to create symbolic links anywhere they want on the system is
surely not a good thing).
Matt
Matt Garrish Guest
-
Tad McClellan #3
Re: possible to execute system command on remote host?
dan baker <botfood@yahoo.com> wrote:
> what I am
> wondering is if I can use a perl script to execute a system command
> like:
> ln -s testlink somedir
You do not need a "system command", you can make symbolic
links with native Perl:
perldoc -f symlink
> possible?
Try it and see.
--
Tad McClellan SGML consulting
[email]tadmc@augustmail.com[/email] Perl programming
Fort Worth, Texas
Tad McClellan Guest



Reply With Quote

