Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Problem is that after establishing the telnet session, the other side of the connection is just a login shell waiting for input. You could use that shell to dump the file and store the input locally, but there is a problem.

System messages can be sent to a terminal session by the server, which would then show up in the middle of your file. I'm talking about things like 'You have new mail' or 'System will go down for maintenance' and the such.

If your workstation is a Unix machine, I would suggest buying your sysadmin a pizza and asking him to allow you to connect to your homedir using nfs. If it's a windows machine, do the same after installing an nfs-client for Windows.

NFS allows you to 'mount' the filesystem on your local machine, making it 'look' local to all your applications. After doing that you could access the file in any way you would want...


In reply to Re: Re: 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 avoiding work at the Monastery: (3)
As of 2024-04-20 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found