All Posts Tagged With: "edit"

Edit Files "Live" Via FTP With Notepad++ [How-To]

If you run your own web site and run Perl, PHP scripts or the like, there will be instances where you have to edit some files from time to time.

The long way to do it is to download the file you need to edit, modify it, then upload it back.

The short way is to edit the file "live" on the server directly. Using Notepad++ this is easy to do with it’s built-in FTP feature.

First, enable FTP folders by clicking the small yellow folder icon at top:

image

You will see a right and bottom pane appear, similar to this:

image

In the FTP Folder window at right, click the settings icon (the gray one that looks like a gear).

You’ll get a window like this:

image

Click New (bottom left button) to start a new profile.

Enter Profile as the friendly name you want to remember this FTP server by, such as "My FTP Server".

Enter Address as the FTP server you want to connect to, followed by your username and password.

If using Windows XP, you don’t have to set anything else up.

If using Vista or 7, you do have to set the Use profile cache directory to a local writable folder (such as My Documents for your local Windows account). If you don’t do this, you will not be able to edit any files "live".

When done, click OK.

To the left of the settings icon you clicked is a blue plug-looking icon:

image

Clicking this will bring up your server list. It will show the entry you just created. Click your entry and you will establish an FTP session with your server.

From there you can double-click any file you want (as long as it’s text based) to edit, seen below.

image

After double-clicking a file it will open in the editor as a tab (each successive file you open will create more tabs). Make your edits, then save the file with the save button or CTRL+S, and it will be saved direct-to-server.

Converting OGG Video to AVI (How-To)

By default when you create screencasts using recordmydesktop in Linux (Ubuntu specifically), the output is an OGG container file. As anyone who has tried to bring that file into Windows quickly learns, there’s not too much software out there that will “understand” OGG in Windows, and even less available if you want to edit it later on using your video editor of choice in Windows (or Mac for that matter).

So in the end you have to find some way to convert OGG to AVI while still retaining quality both for audio and video just to edit it.

While it’s true you can use ffmpeg from the command line in Linux to convert the file from OGG to another format, audio/video sync isn’t always the best and furthermore the quality is vastly inferior compared to the original OGG.

This article shows you how to get full quality conversions for OGG to AVI, both for video and audio – in sync.

Please Login or Register to read the rest of this article. Gold/Silver Membership required.