Tip Details Add a Related Tip

Rate as: Positive Negative

JEdit won't save files via FTP

JEdit is a nice text editor for programmers. It works across many platforms, it allows in-place editing of files over FTP, and it has a lot of community support which offers a lot of nice plug-ins to extend the editor. JEdit is also free which is pretty incredible considering how powerful an editor it is.

But it has one really annoying problem with the FTP functionality. Some times when trying to save a file via FTP, if the connection is lost or interrupted, the file will not get saved. But even when the connection comes back, subsequent attempts to save the file via FTP will fail. Even worse, each of these failures takes about a minute to occur. Arg!

But here's the solution.... when saving files over FTP, JEdit creates a temporary file on the server to which the save is occurring. The name of the file is #yourFileName#save# where yourFileName is actually the name of the file you are trying to save. When the interruption of the save happens and the interruption is severe enough, this temporary file is left behind on the server. If this temporary file exists, new save attempts by JEdit will fail.

So, if JEdit is failing to save files via FTP and you know your connection is okay, go to the server you are saving to and look for this temporary file. If you find it, delete it. JEdit will then be able to save the file via FTP without any issues.
Rating: 100% positive, 2 total Votes
Categories: editors programming FTP
Added: on Jul 17, 2007 at 5:10 pm
Added By: an anonymous user

Comments on this Tip

Add a Comment
I was totally befuddled by this. Thanks for the fix, it worked a treat.
– Added by an anonymous user on Mar 24, 2008 at 3:13 pm
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Opening missing files in JEdit

100% positive, 0 comments
– Tip added by an anonymous user on Mar 24, 2008 at 3:18 pm

Keep WinSCP connections alive

Categories: windows FTP programming
100% positive, 0 comments
– Tip added by geekalot on Oct 21, 2007 at 8:40 am

Context highlighting in nano

no ratings, 0 comments
– Tip added by an anonymous user on Aug 05, 2007 at 8:17 am

Annotating PDF files on a Mac

Categories: Mac PDF editors preview Adobe
100% positive, 2 comments - last added on May 20, 2008 at 10:01 am
– Tip added by an anonymous user on Apr 04, 2008 at 11:09 am

Easy way to create .htaccess files

100% positive, 0 comments
– Tip added by an anonymous user on Apr 01, 2008 at 7:57 am

How to Find a Random Date in PHP

40% positive, 0 comments
– Tip added by Walkere on Feb 07, 2008 at 8:25 pm

Javascript Error: unterminated regular expression literal

100% positive, 0 comments
– Tip added by marty on Jun 26, 2008 at 1:20 pm

Minimize round trips to the server for best performance

100% positive, 0 comments
– Tip added by an anonymous user on Jun 18, 2008 at 4:07 pm

compressing javascript

100% positive, 0 comments
– Tip added by an anonymous user on Jun 12, 2008 at 3:02 pm

Telling when an iframe is done loading

100% positive, 0 comments
– Tip added by an anonymous user on Apr 18, 2008 at 8:05 am

Our best moment was the sunset...

50% positive, 1 comment - last added on Apr 02, 2008 at 5:56 pm
– Tip added by Billy Cenea on Apr 02, 2008 at 5:49 pm

Copyright date on sites

Categories: web programming php Smarty
100% positive, 0 comments
– Tip added by an anonymous user on Mar 11, 2008 at 8:14 am

Viewing plist files in Leopard

100% positive, 0 comments
– Tip added by an anonymous user on Mar 06, 2008 at 3:21 pm

How to Syndicate an RSS Feed On Your Site

100% positive, 0 comments
– Tip added by Walkere on Feb 09, 2008 at 5:48 pm

1067 errors in Actionscript

no ratings, 0 comments
– Tip added by an anonymous user on Jun 17, 2008 at 9:28 pm

Referencing methods in PHP usort

Categories: php coding programming
no ratings, 0 comments
– Tip added by an anonymous user on Jun 13, 2008 at 11:18 am

CakePHP: Working with Associations

no ratings, 0 comments
– Tip added by an anonymous user on May 08, 2008 at 4:09 am

Creating your own Quick Look Plug-Ins

no ratings, 0 comments
– Tip added by an anonymous user on Apr 29, 2008 at 7:34 am

Is your unit test really a unit test

no ratings, 0 comments
– Tip added by hindy on Feb 29, 2008 at 11:06 am

Javascript: How to Create a Random Number

0% positive, 0 comments
– Tip added by Walkere on Feb 23, 2008 at 9:49 pm