View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000640aMuleFeature Requestpublic2005-11-03 23:012008-07-02 11:51
Reporterkubrick 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version2.0.3 
Target VersionFixed in Version 
Summary0000640: Add file type in file details windows
DescriptionIt would be nice to add the result of the "file" command on the part file in the file details window, it could be usefull to spot some fake-files (for example, sometimes I try to download isos but they are in fact movies, and that's too bad to download 700Mb for nothing when I could have seen before it was not an iso)
We could even imagine a more clever system which compare this output with the information given by the extension of the file and warn the user if these infos don't match
Additional Informationfile /mnt/big/Temp/002.part
/mnt/big/Temp/002.part: MP3 file with ID3 version 2.3.0 tag
TagsNo tags attached.
Fixed in Revision
Operating System
Attached Files

- Relationships

-  Notes
(0001404)
Xaignar (manager)
2005-11-04 00:20

Well, there's a problem with that request, in that it will only work on Mac and *nix, but probably not windows.
(0001407)
kubrick (reporter)
2005-11-04 11:39

And why should we suffer windows' inconvenients under linux? :)
Just don't compile it for windows...
Moreover ther is a way to have it under windows : we could have the "file" command compilied for cygwin, in conjonction with cygwin.dll, it could be realeased in a seperate package if the user wants it...
(0001408)
kubrick (reporter)
2005-11-04 13:54

A port for windows of the file command exists in apache (you cand find some info here : http://www.zend.com/manual/ref.mime-magic.php [^]) or maybe you should just use this package : http://pecl.php.net/package/fileinfo, [^] there is some code in C, maybe you could use it...
(0001415)
Xaignar (manager)
2005-11-05 01:27

Our goal is a multiplatform client, which means that shooting yourself in the foot by depending on platform dependant features is not a good idea. Hence my unwillingness to add such dependancies.
(0001417)
pcmaster (reporter)
2005-11-05 11:25

The fact that it works in all platforms execet windows is not a reason for not implemment it.

In windows, is posible to show a n/a message.
(0001717)
kubrick (reporter)
2005-12-31 14:17

Isn't it possible to compile easyly the file utility with MinGW from the sources? ftp://ftp.astron.com/pub/file/ [^]
This functionality would work for the users who have file.exe, and a N/A message for the others...

- Issue History
Date Modified Username Field Change
2005-11-03 23:01 kubrick New Issue
2005-11-04 00:20 Xaignar Note Added: 0001404
2005-11-04 11:39 kubrick Note Added: 0001407
2005-11-04 13:54 kubrick Note Added: 0001408
2005-11-05 01:27 Xaignar Note Added: 0001415
2005-11-05 11:25 pcmaster Note Added: 0001417
2005-12-31 14:17 kubrick Note Added: 0001717
2008-07-02 11:51 Wuischke Status new => closed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker