[Cyberduck-trac] [Cyberduck] #6557: Google docs - hidden extensions
Cyberduck
trac at trac.cyberduck.ch
Fri Feb 24 11:08:33 CET 2012
#6557: Google docs - hidden extensions
---------------------------+------------------------
Reporter: Daankets | Owner: dkocher
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: google-docs | Version: 4.2.1
Severity: normal | Resolution:
Keywords: | Architecture: Intel
Platform: Mac OS X 10.7 |
---------------------------+------------------------
Description changed by Daankets:
Old description:
> In google docs, you can upload different types of files, like for example
> pdf files. Google docs will store the file with the file name
> communicated during the upload, and also store the content-type (mime-
> type- separately.
>
> If, in Google docs, your rename an item (a file), you may perfectly well
> remove the (.pdf or other) file extension from the file name, as the file
> type is stored separately (not linked to the extension).
>
> When you open a google docs connection with CyberDuck, files are listed
> as they are named within google docs. A PDF file renamed to a name
> without an extension, will not have an extension within the Cyberduck
> listing, but also - and that's worse - the mime type will not be
> detected. It should however be possible to list such files as files with
> a 'hidden extension' within CyberDuck. This way, after downloading a
> file, the file type would be correctly recognized by OS X.
>
> How to replicate:
> - Upload two pdf files to google docs.
> - Rename one of them, removing the .pdf extension. Note that google docs
> still recognizes the PDF nature of the file.
> - Connect with CyberDuck and list the files. Note how one file is
> recognized as a PDF file, and the other is not.
New description:
In google docs, you can upload different types of files, like for example
pdf files. Google docs will store the file with the file name communicated
during the upload, and also store the content-type (mime-type) separately.
If, in Google docs, your rename an item (a file), you may perfectly well
remove the (.pdf or other) file extension from the file name, as the file
type is stored separately (not linked to the extension).
When you open a google docs connection with CyberDuck, files are listed as
they are named within google docs. A PDF file renamed to a name without an
extension, will not have an extension within the Cyberduck listing, but
also - and that's worse - the mime type will not be detected. It should
however be possible to list such files as files with a 'hidden extension'
within CyberDuck. This way, after downloading a file, the file type would
be correctly recognized by OS X.
How to replicate:
- Upload two pdf files to google docs.
- Rename one of them, removing the .pdf extension. Note that google docs
still recognizes the PDF nature of the file.
- Connect with CyberDuck and list the files. Note how one file is
recognized as a PDF file, and the other is not.
--
--
Ticket URL: <http://trac.cyberduck.ch/ticket/6557#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list