Bug 188153 - Files from ftp mostly fail to load
Summary: Files from ftp mostly fail to load
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: ftp (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 188131 189908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-26 11:43 UTC by Kristjan Ugrin
Modified: 2014-03-02 13:46 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
log (9.02 KB, text/plain)
2009-10-23 11:45 UTC, Kristjan Ugrin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristjan Ugrin 2009-03-26 11:43:43 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    SuSE RPMs

When I try to edit file on a remote server via ftp, they fail to load with similar message:

"The file ftp://xxx.com/public_html/_test.php could not be loaded, as it was not possible to read from it.
Check if you have read access to this file"

I do have access and file is perfectly readable. Hitting F5 after closing this warning fixes the problem.
Seems like kwrite doesn't wait for the file to be completely copied to localhost.
Comment 1 FiNeX 2009-03-27 12:14:31 UTC
It happens on kate too. Sometimes I need to reload the file multiple times until the file is loaded.
Comment 2 FiNeX 2009-03-27 12:15:19 UTC
P.S: I'm using current SVN-trunk r945296
Comment 3 FiNeX 2009-03-27 12:35:44 UTC
*** Bug 188131 has been marked as a duplicate of this bug. ***
Comment 4 Arthur Pemberton 2009-05-04 08:40:08 UTC
This problem still exists in 4.2.2
Comment 5 Kristjan Ugrin 2009-05-04 09:44:32 UTC
Still happens with kde 4.3 from trunk.
I'm using kwrite from kde 3.x for now.
Comment 6 Arthur Pemberton 2009-05-21 04:33:31 UTC
This problem still exists in 4.2.3

Files are created in /tmp/kde-pembo13/ as expected, and with the useable permissions. So I have no idea why kwrite thinks that I do not have permission to them.
Comment 7 David Faure 2009-06-22 12:05:17 UTC
Works for me in both 4.2 branch and trunk... both loading and saving.
Comment 8 Kristjan Ugrin 2009-06-22 12:32:50 UTC
Still doesn't work here - tested with multiple servers.
Comment 9 FiNeX 2009-06-22 13:17:54 UTC
I can easily reproduce dragging a lot of files (for example 10 files) from dolphin/konqueror (using FTP) to kate.
Comment 10 Arthur Pemberton 2009-06-22 21:53:14 UTC
My test is:

1. open ftp site in Dolphin
2. locate text file (php|html) etc
3. right click on file
4. select 'Open with Kwrite'

another test that also fails is

1. Open Kate
2. browse to FTP folder within Kate
3. attempt to open file within Kate's tree view
Comment 11 Arthur Pemberton 2009-06-22 22:03:35 UTC
This look like duplicate:

https://bugs.kde.org/show_bug.cgi?id=189908
Comment 12 Matthias Pospiech 2009-09-30 22:14:12 UTC
I can reproduce it again with KDE 4.3.1 (latest Opensuse packages).
It does not happens everytime, but 8 times out of 10.

This makes working on websites direcly on the ftp a mess. kwrite/KDE3 works without this problem, but that is not a real solution.
Comment 13 David Faure 2009-09-30 22:42:45 UTC
Please grab the error log from kio_ftp (e.g. use kdebugdialog --fullmode to redirect kio_ftp output to a file).
Comment 14 Kristjan Ugrin 2009-10-23 11:45:15 UTC
Created attachment 37757 [details]
log

This is log from failed loading of get_last_post2.php.
After hitting F5 in kwrite file loaded normally.
Comment 15 Dominik Haumann 2010-05-09 02:52:58 UTC
*** Bug 189908 has been marked as a duplicate of this bug. ***
Comment 16 Dominik Haumann 2010-05-29 13:54:38 UTC
@David Faure: does the output in comment #14 help?
Comment 17 Christoph Cullmann 2011-06-26 13:52:42 UTC
KParts::ReadWrite handles the download/upload for us, therefore reassigning to kdelibs.
Comment 18 Dawit Alemayehu 2014-03-02 06:31:41 UTC
Can someone please confirm if this is still an issue? I personally cannot reporduce using a local ftp server in KDE 4.12
Comment 19 Kristjan Ugrin 2014-03-02 09:38:38 UTC
I'm on 4.11.5 and seems like ftp is working well - resolved for me.
I guess it's safe to close this bug, since no one reported in a long time.
Comment 20 Dawit Alemayehu 2014-03-02 13:46:43 UTC
(In reply to comment #19)
> I'm on 4.11.5 and seems like ftp is working well - resolved for me.
> I guess it's safe to close this bug, since no one reported in a long time.

Thanks for the quick response. Closing.