Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
As I understand it, you want to run a script on your workstation, that opens the file on the server and reads/writes it...

Your available options are determined by the ways the server allows you to connect. The only method I've seen you mention in the thread is by using Telnet, which is definitely not the way to go... Though you could have your client script login thru telnet and have it start another (server)script that allows the two to communicate...

I recall reading a chapter on RPC (Remote Procedure Call) in O'Reilly's Advanced Perl Programming Book. This method would require you to run a 'homemade' server-script on the server which would allow a client-script to perform any perl command transparantly on the server.

CPAN's RPC::Simple seems to provide something like this.

I think the way to go for you though is asking your sysadmin to allow access using NFS or Samba if you're using a windows workstation...


In reply to Re: How does perl's file I/O work? by Gilimanjaro
in thread How can I access a file on a remote server? by Kspoon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (None)
    As of 2024-04-25 01:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found