PATCH: Bug 58492: downloading dynamic archives impossible

Thiago Macieira thiago.macieira at kdemail.net
Sun Jun 13 21:02:12 BST 2004


Dawit A. wrote:
>Hi,
>
>Here is another patch for kio_ftp to address BR#58492. I do not why
> there is a need to do a SIZE command in ftpGet before attempting to
> retreive the resource instead of simply doing the GET and letting it
> fail. Anyways, the patch simply adds a config option to skip the
> ftpSize stuff when doing a GET. The nice thing about doing it this
> way is that the option can be enabled per site...

I'd let the SIZE command be issued in any case, but instead I wouldn't 
rely on its value to indicate the presence of the file.

Let GET fail when that happens. If SIZE returns a size, we'll be able to 
show it in the download window and estimate time. If it doesn't, try 
and retrieve the file nonetheless.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040613/b1ec18ee/attachment.sig>


More information about the kfm-devel mailing list