Skip to content

File name extensions in cloud storage #10

Closed

Description

@crspybits

Currently, files are named, ending in versions. E.g.,

F4E52422-77EA-4D84-A933-B55435461844.63FB8DE1-2A4F-467F-9782-C179E4C93E02.0

However, at least on MacOS, this doesn't easily allow a user to open the file. While we don't want to make it super easy for a user to deal with these files (they are, after all, internal to the system), a goal of SyncServer is to enable access to their data should an app go away. With this in mind, files should be named with suitable (content specific) file extensions, such as .jpg or .txt.

Activity

  1. added this to the milestone on Dec 2, 2017
  2. crspybits commented on Feb 20, 2018

    @crspybits
    OwnerAuthor

    This work needs to be done in a few parts:

    1. A script or somesuch migration that will rename existing files-- Need to check, but I think these are only in my account. The files will now be named ...
      In order to rename these generally, the process needs to happen with the server effectively shut down-- so that no clients are modifying the files at the same time. And the process needs to be done with the server Google/Dropbox file access and authorization mechanisms.
    2. A change to the code that names these files-- so that it uses a specific extension depending on the mime type in the FileIndex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions