Bug 108315 - kget cannot download folders and files from ftp
Summary: kget cannot download folders and files from ftp
Status: RESOLVED DUPLICATE of bug 87114
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 11:42 UTC by Mohd Asif Ali Rizwaan
Modified: 2005-06-29 12:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohd Asif Ali Rizwaan 2005-06-29 11:42:30 UTC
Version:           v0.8.4 (using KDE 3.4.1, compiled sources)
Compiler:          gcc version 3.3.5
OS:                Linux (i686) release 2.6.11.7

I'm trying to download Sources from Slackware's ftp site:
ftp://ftp.planetmirror.com/pub/slackware/slackware-current/source/kde

How to reproduce:
-----------------

1. Open any ftp site with folders (and folders shold be having files, like the above ftp url)
2. Open kget
3. drag and drop any folder in kget
4. you'll be allowed to save the folder
5. but as soon as you click "save"
6. error "ftp://ftp.mirror.com/pub/.../arts" is a folder, but a file is expected.

Expected Behavior:

1. Kget expecting files is ridiculous, I was expecting kget to download anything thrown at it.

2. A *folder* is a file (unix-ese). Everything is a file in Unix. Doesn't KGet know that?

3. It must download a folder because there are many imporant things in the folder like:

  a. arts.SlackBuild
  b. arts-1.4.1.tar.bz2
  c. slack-desc
  d. local.options


It is not acceptable to download 4 files individually and create 'arts' folder, which is supposed to happen in 1 action. 

Supposing an ftp folder with 20 files! how about that? How is one supposed to waste time downloading 20 files one-by-one.

Folders not downloadable from ftp or other KDE's protocols like smb:/, etc., is very troublesome thing for a KDE user like you and me.

damn, now I have to download individually KDE sources which could be a one click thing :(
Comment 1 Mohd Asif Ali Rizwaan 2005-06-29 11:47:56 UTC
it is also not possible to download a folder from http://

http://public.planetmirror.com/pub/slackware/slackware-current/source/kde/
Comment 2 Pino Toscano 2005-06-29 11:50:52 UTC
Even if KGet bug list is bi, please check before reporting an already reported bug.
Thank you.

*** This bug has been marked as a duplicate of 87114 ***
Comment 3 Carsten Pfeiffer 2005-06-29 12:56:03 UTC
On Wednesday 29 June 2005 11:47, Mohd Asif Ali Rizwaan wrote:

> ------- it is also not possible to download a folder from http://
>
> http://public.planetmirror.com/pub/slackware/slackware-current/source/kde/


This is exactly the reason why this is downloading of folders is not supported 
in kget, yet. There is no "folder" concept in http, all you can get is a file 
by requesting a URL. A folder listing in the webbrowser is nothing but an 
html-file with links inside.

Maybe it should pop up the "List all Links" window to allow the user to select 
all files to be downloaded.

If the protocol supports listing of directories, kget should allow recursive 
downloading.

Cheers
Carsten