Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

syncing files from Android with special caracters #192

Closed

Description

@stilsch

Some apps generate pictures named like (eg. Handgouts when taking a picture with it):

IMG_20140825_162547:nopm:.jpg

When I try to sync this to my windows-pc it does not like the ":" in the filename and I'am not able to sync this.

File name "Camera/IMG_20140825_162547:nopm:.jpg" contains invalid characters; marked as invalid.

I would recomment to add an option to the android app, that is called "rename special caracters to '_' befor sync" to work around this (windows)-issue.
Thats the way btsync is doing it.

Regards,
schuft69

Activity

  1. changed the title [-]syncing pictures from Android with special caracters[/-] [+]syncing file from Android with special caracters[/+] on Dec 13, 2014
  2. changed the title [-]syncing file from Android with special caracters[/-] [+]syncing files from Android with special caracters[/+] on Dec 13, 2014
  3. Nutomic commented on Dec 13, 2014

    @Nutomic
    Contributor
  4. stilsch commented on Dec 14, 2014

    @stilsch
    Author

    This list could help which caracters windows/ntfs also does not like:

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx

    < (less than)
    > (greater than)
    : (colon)
    " (double quote)
    / (forward slash)
    \ (backslash)
    | (vertical bar or pipe)
    ? (question mark)
    * (asterisk)
    
  5. Nutomic commented on Jan 20, 2015

    @Nutomic
    Contributor
  6. Zillode commented on Mar 21, 2015

    @Zillode
    Contributor

    Fixed in upstream syncthing/syncthing@8311162

  7. michaelarnauts commented on Apr 29, 2015

    @michaelarnauts

    I still see these messages on my windows host (syncing from my linux server) on v0.11.1.

    -> 19:43:10: File name "IMG_20150326_173306:nopm:.jpg" contains invalid characters; marked as invalid.

  8. Zillode commented on Apr 29, 2015

    @Zillode
    Contributor

    Sorry upstream fixed the NFC/NFD UTF8 encoding. A colon (:) is a perfectly valid character, thus Syncthing will not modify it.
    I don't see how we can resolve this as we will not modify your filenames...

  9. Zillode commented on Apr 29, 2015

    @Zillode
    Contributor

    @schuft69, is this option available on the android or the desktop client?

  10. stilsch commented on Apr 30, 2015

    @stilsch
    Author

    It is available (but not configurable) on the Windows-Client.

  11. locked and limited conversation to collaborators on Nov 9, 2018
  12. added 2 commits that reference this issue on Nov 12, 2023
    0664c33
    5351e23
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions