Yummy Software
Welcome, Guest. Please login or register.
November 09, 2006, 12:57:52 PM
749 Posts in 150 Topics by 164 Members
Latest Member: garyh357
Home Help Search Login Register
Yummy Software  |  Yummy FTP  |  Problems & Bugs  |  Mixup when using external editor « previous next »
Pages: [1] Print
Author Topic: Mixup when using external editor  (Read 359 times)
Andreas
Newbie
*
Posts: 16


View Profile
Mixup when using external editor
« on: August 06, 2006, 12:24:12 PM »

I recently discovered some problems when editing several files with the same name in the external editor.
My folder structure on the ftp server is like this:

index.html
company
  |-- index.html
services
  |-- index.html

Not to unusual for a website. Smiley

Problem #1
I was editing index.html and company/index.html at the same time, and made changes to both files. After saving both, index.html had the contents of company/index.html, and the latter wasn't uploaded at all. TextWrangler didn't show an error, so I assume they were correctly saved locally, but not uploaded.

Problem #2
Probably related is an error I get occasionally when trying to edit two files of the same name quickly (doubleclick on the first, doubleclick on the second before the first has oppened in the editor). YummyFTP then states that this file is already beeing edited.

Problem #3
I rarely get the error message in YummyFTP that a file can not be edited, because I seem to lack permissions to write to the "Edits" folder. This also occured only when editing several files with the same name and doing that fast.

All these problems could probably be solved by replicating the folder structure of the server to the "Edits" folder, but that's just a guess...

PS: Using YummyFTP 1.5.1 on an iMac Core Duo that is.
« Last Edit: August 06, 2006, 12:27:23 PM by Andreas » Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #1 on: August 06, 2006, 02:57:17 PM »

Urg! Ok I'll take a look at what's going on.
Logged
Andreas
Newbie
*
Posts: 16


View Profile
Re: Mixup when using external editor
« Reply #2 on: August 06, 2006, 03:02:38 PM »

Come on, it's weekend! It bad enough that I have to work! Smiley
Logged
spacific
Newbie
*
Posts: 34


View Profile
Re: Mixup when using external editor
« Reply #3 on: August 06, 2006, 05:10:36 PM »

JD,

Since we have had email discussions about this area, I thought I would try to duplicate Andreas' problems, but haven't been able to. Opening the two index files seems to work OK: no warning about a file being open already, and no mix up on editing and saving that I can generate.

However if you select both files and then double-click either, up comes the warning message that one is already being edited (which is wrong since in fact neither is opened). If you select/open one file, then quickly select/open the second (i.e. double-clicking), there seems to be no problem.

This is with 10.3.9, BBEdit 8.2.6, 1.5.2b4.

(I still think my idea of using a hash of the server/path-name would eliminate any confusion with the temporary folder names Smiley )
Cheers
Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #4 on: August 06, 2006, 05:14:10 PM »

Yep, I've reproduced this behavior too. I'm on it!...
Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #5 on: August 07, 2006, 09:25:26 AM »

I've fixed this and will distribute a new beta shortly. The problem has nothing to do with the folder names or structure, btw Wink
Logged
Andreas
Newbie
*
Posts: 16


View Profile
Re: Mixup when using external editor
« Reply #6 on: August 07, 2006, 10:52:42 AM »

Thanks! I hope you didn't sacrifice the remaining weekend hours just because I don't like to edit one file at a time. Smiley

If I can help by testing the new version, I'll gladly do that.
Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #7 on: August 07, 2006, 11:37:18 AM »

Of course I did! But that's ok... you can pay me later  Cheesy

Seriously though, are you not already a beta tester?? If not, I'll add your name to the list, if that's ok.
Logged
Andreas
Newbie
*
Posts: 16


View Profile
Re: Mixup when using external editor
« Reply #8 on: August 07, 2006, 11:43:11 AM »

Of course I did! But that's ok... you can pay me later  Cheesy

I'll get some swiss chocolate for you. Smiley

Seriously though, are you not already a beta tester?? If not, I'll add your name to the list, if that's ok.

Absolutely. Last time, I decided against it because I didn't have enough time to take a deeper look. Things look brighter now.
Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #9 on: August 07, 2006, 06:10:35 PM »

hehehe I was just kidding, but that chocolate does sound very Yummy!

I'll add you to the beta list then. Thanks! Smiley
Logged
JD
Administrator
Sr. Member
*****
Posts: 353


View Profile Email
Re: Mixup when using external editor
« Reply #10 on: August 17, 2006, 05:57:06 AM »

Just to note that the latest beta build of Yummy has this problem fixed.
Logged
Pages: [1] Print 
« previous next »
Jump to: