[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Idea]Context Sensitive file dialog
From:       Alessandro Pignotti <alex.pigna () inventati ! org>
Date:       2006-10-02 9:19:30
Message-ID: 4520D9A2.2010406 () inventati ! org
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Blauvelt ha scritto:
> The only problem with having the file downloaded to a temporary
> directory is
> that if it's a really large file, like 1GB, then you need to have twice
> that
> space in order to actually download the file.  This normally isn't a
> problem
> unless you're getting to the end of your hard drive and you have a large
> file but it's happened to me and was VERY frustrating.  How many bytes are
> required for the file detection?  If it's not that much it would be
> possible
> to download the bytes to a buffer for file detection and then flush those
> bytes to the file location.
> 
> 
> On 10/2/06, Rafael Fernández López <ereslibre@gmail.com> wrote:
>>
>> From my point of view, extensions are not trustable. An executable file
>> can be extensioned as JPG. I think the tmp folder, type file study and
>> dialog message is the best option.
>>
>>
>>
>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>> unsubscribe <<
>>
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
>  
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
How may bytes? To check a file signature it may be enough to dl 1K, but
we were talking about putting _similar_ files in the same folder. And
the similarity can be found only if the whole file is analyzed i think.
anyway, to be realistic, download from http/ftp (i think we are talking
about those protocol primarly) up to 1GB are not common. To exchange
large files, like linux distro, bittorrent is now the most common
method, so it shoul not be a concern here. We can always offer the user
a choice: if the file is larger that a certain threshold, we alert him
that is better not to analyze the file and the user can choose the
destination diretory as usually
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFINmhqpZfbAQxvfoRAtk0AJoD8L+9uJSzRJvjA9rBN68R+7nxUwCfWrKf
NAWEiCHvKywKrpm07dVxUQw=
=ZTyh
-----END PGP SIGNATURE-----
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic