error saving files to FTP server vi gvfs APPEND command instead of OVERWRITE

Bug #507236 reported by mikwit
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: gvfs

I'm editing php source files directly on remote FTP server. Tried to use GEANY as an editor.
While saving to FTP server a problem occured.
1st save after opening file is always OK,
2nd save and next causes a problem. Saved content is appended to existing file instead of overwriting.
I have checked with server log - APPE command is executed.
It was checked on 2 client machines - using Ubuntu Jaunty and Karmic - same problem occured, and on several ftp servers.

I have posted this problem to GEANY bug report, but guys replied that it uses gvfs, so I'm posting this bug here.

Revision history for this message
RHIFT (brad-rhift) wrote :

I think that this might be an incarnation of the bug that I am experiencing here:

https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/493716

Except when APPEND is not supported on the server this results in the file being wiped and an "Input/Ouput" error to be returned in Geany. Scite, and cp also fail in the exact same way. gEdit works, but I've been told that because it uses GIO that this handles the problem. So far I can not find a program that does not fail other than gEdit.

This happens across 9.04, 9.10, 10.04-Beta and on 3 completely independent servers.

Help?

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of GVFS is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
habl (info-habl) wrote :

Working on Lucid Lynx and have the same problem. Updating to Maverick not an option since I have other issues with that release. Problem exists in both Geany and Gedit (didn't test others). I don't have control over the server I'm working with, it's a hosted server so can't check logs or change any settings. I'm working with more FTP-only servers and most are working fine so it looks like a conflict with this server.

Revision history for this message
RHIFT (brad-rhift) wrote :

I can confirm that this is still an issue in Maverick.

Revision history for this message
joshas (joshas) wrote :

I'm having this issue under Maverick too. I could try to debug it, but have no idea where to start. Does gvfs keep FTP communication log somewhere?

Revision history for this message
Kristof Imre Szabo (krisek) wrote :

Please find a captured session as attachment.

Revision history for this message
Jonas (jonas-f-henriksen) wrote :

Any progress on this bug?

Jonas

Revision history for this message
mikwit (mikwit) wrote : Re: [Bug 507236] Re: error saving files to FTP server vi gvfs APPEND command instead of OVERWRITE

Dear Jonas,

I didn't try until now. Just checked again and it works fine!
I have upgraded to newest Ubuntu 11.04 64 bit few days ago
and with this relese problem seem to be solved.

Regards

Mikolaj

W dniu 06.05.2011 08:59, Jonas pisze:
> Any progress on this bug?
>
> Jonas
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.