Results 1 to 5 of 5

Thread: Small issue with cloud service on Firefox

  1. #1

    Default Small issue with cloud service on Firefox

    I'm currently trying the Adrive service as trial period. Wonder if anyone else has tried it as well...

    Thing is, I tried creating just a text file named plain "Atest" with some random gibberish as text, but through vim, though gedit can read it anyways.
    I uploaded it to the Adrive account, logged in the web interface using Firefox and tried the option "preview in new tab". Tab attempted to open, closed immediately and I was asked if I wanted to save the file, as in downloading it. It marked it as a "BIN" file. Although the file was totally mine, I hit cancel button. Perhaps Adrive cannot preview other files than txt in its web interface.

    But what worries me is, is it kind of an expected behavior from Firefox, or openSUSE globally itself? Didn't I put at harm risk my system? Don't know if similar thing happens with Dropbox or Google drive web interfaces...

    Thanks again, and sorry if stupid...

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,917
    Blog Entries
    2

    Default Re: Small issue with cloud service on Firefox

    Your file is probably named Atest and not something like Atest.txt.

    A lot of applications rely on the file extension to decide how to handle the file.
    A file without a file extension probably defaults to being handled as an executable which cannot be "previewed" so prompts you to download the file.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: Small issue with cloud service on Firefox

    Quote Originally Posted by tsu2 View Post
    Your file is probably named Atest and not something like Atest.txt.
    I agree. Why would your cloud storage be interested in what is in the file. It is just bytes. You store them somewhere , using a name to remember what is what, and then retrieve it using that name. Nothing in the contents should be changed. If you, the user, using any application, then assumes that the contents is text of some form (ASCII, Unicode, EBCDIC, whatever), that is fine.
    Henk van Velden

  4. #4

    Default Re: Small issue with cloud service on Firefox

    Yes, as I mentioned, I used the web interface on Firefox, and I realized I should have named Atest.txt when creating it with vim editor...
    Still, then no harm to the file or entire Leap OS at all? Was it kind of an "expected" behavior?

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: Small issue with cloud service on Firefox

    Quote Originally Posted by F_style View Post
    realized I should have named Atest.txt when creating it with vim editor...
    Why? You can name any file to your liking.
    It is the stupid cloud software that draws conclusions (wrongly). It should not try to interprete file names. Maybe that is a Windows habit (the whole term "file name extension" is an MS-DOS invention), but as Linux user, you should not be impressed by this.
    Quote Originally Posted by F_style View Post
    Still, then no harm to the file or entire Leap OS at all? Was it kind of an "expected" behavior?
    Again why? it is your file. the same one you created. Byte for byte. Nothing changed. You put it in some storage. In this case on somewhere in the cloud, but it is the same as when you stored it on your own system. Nothing changed.
    Expected? You can expect anything stupid from software that tries to be MS Windows friendly.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •