unix perl cgi notepad question

  • Thread starter pleaseexplaintome
  • Start date
P

pleaseexplaintome

Hi, is it possible to run a perl/cgi script on a unix box, open a file
residing on unix in notepad on the user's pc containing and then save
the updated/chnaged notepad file back to the unix box?

thank you
 
O

octomancer

Hi, is it possible to run a perl/cgi script on a unix box, open a file
residing on unix in notepad on the user's pc containing and then save
the updated/chnaged notepad file back to the unix box?

no, it's not.

what is possible is to have a user browse to a URL where a cgi script
will show a page with the contents of the file in a textarea and which
will save the contents of the textarea to a file when the page is
submitted.

rich
 
P

Paul Lalli

Hi, is it possible to run a perl/cgi script on a unix box, open a file
residing on unix in notepad on the user's pc containing and then save
the updated/chnaged notepad file back to the unix box?

You really want it to be possible to browse to some unknown website and
have that website start running programs on your own computer? Doesn't
that sound like an insanely bad idea to you?

Time for you tell us your *actual* goal, rather than the method by
which you think you want to achieve it.

Paul Lalli
 
J

John Bokma

Hi, is it possible to run a perl/cgi script on a unix box, open a file
residing on unix in notepad on the user's pc containing and then save
the updated/chnaged notepad file back to the unix box?

Yes, this is possible if you're able to write a program that acts as a
device driver so Windows can access the file on the UNIX box via CGI and
make it appear to Notepad as a file on, say, drive F:

An example of that this is possible:
http://www.viksoe.dk/code/gmail.htm
 
U

usenet

Hi, is it possible to run a perl/cgi script on a unix box, open a file
residing on unix in notepad on the user's pc containing and then save
the updated/chnaged notepad file back to the unix box?

Some text editors (but not Notepad) have the ability to open files on
remote machines via FTP or sFTP (this is mostly transparent to the
user). One such editor is JEdit, which is Java-based, so it will run
on many different systems:
http://jedit.org

FWIW, JEdit is the only editor I know of that supports secure (sFTP)
editing (via a plug-in).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top