Editing PHP file via Telnet

Posted on 2005-04-15
Last Modified: 2012-08-14
On a Sun Cobalt RaQ4 I need to edit a php file (Openwebmail.conf). Have tried to edit it using Pico and vi editors but just get a jumble of symbols where I was expecting text. Can't get at it via FTP - have to log in as root. Is there an easy guide to editing this way or can you tell me the commands I need to enter in Telnet once in teh right directory!?
Question by:rutlandict
    LVL 6

    Accepted Solution

    There is an easy way to do this, go to this website:

    and download psftp.exe

    This will allow you to transfer files in simmilar way as ftp does but the best thing is that it works through regular telnet/ssh session, so there is no need to set up ftp server to transfer files.
    LVL 2

    Expert Comment

    pine, email it to your self :D or share it using samba

    Author Comment

    Dont youhave to have SSL or something installed for Putty to work?
    LVL 6

    Expert Comment

    Actually PSFTP works only with SSH (secure telnet). You should have it installed on your server.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Easy Project Management (No User Manual Required)

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Title # Comments Views Activity
    I'd like to redirect my users to my https pages 2 30
    PHP Radio Array 4 27
    Reverse asset logic not working 11 26
    Php Sql Query 7 19
    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now