Sentaroh / SMBSync2

This application performs file synchronization between an Android device and a PC/NAS via wireless LAN using SMB v1/v2/v3 protocol.
MIT License
262 stars 49 forks source link

[BUG] [Sync Failed] keeps syncing excluded folder #232

Open Funwar opened 3 years ago

Funwar commented 3 years ago

Over and over again the sync from Android phone to SMB NAS fails, only with one sync task. Shortly after the first fail I discovered the failing task (sync type: copy) fails because one of the folders to be synced contains ":" (colon). Which is (according to SMBSync2) an invalid character.

To prevent the sync task from failing I excluded the complete folder. However this doesn't seem to solve te problem, it keeps falling over the folder name.

It looks like the exclusion of folders isn't doing its job in this case. Schermafbeelding 2021-03-16 om 14 04 52

Sentaroh commented 3 years ago

Hi,

Sorry for late response.

The characters that can be used in the file name / Directory name differ depending on the File System. You can use non-null characters in internal storage, but you cannot use ":, , *,?,", <,>, |" characters in external storage (FAT32 / exFAT) and SMB servers.

Workarounds are

  1. Remove or convert the unavailable characters from the file name.
  2. Optionally exclude files/directories image

Best regards.

Funwar commented 3 years ago

Hi Sentorah,

The exclude checkbox is already checked, however the app doesn’t seem to care about that and keeps complaining about several files that contain an invalid character. So it seems like the exclude function doesn’t work like it should.

Kind regards,

Gerwin Bloemberg

Op 18 apr. 2021, om 12:43 heeft Fumio Hoshino @.**@.>> het volgende geschreven:

Hi,

Sorry for late response.

The characters that can be used in the file name / Directory name differ depending on the File System. You can use non-null characters in internal storage, but you cannot use ":, , *,?,", <,>, |" characters in external storage (FAT32 / exFAT) and SMB servers.

Workarounds are

  1. Remove or convert the unavailable characters from the file name.
  2. Optionally exclude files/directories [image]https://user-images.githubusercontent.com/4037866/115141917-d3cf5780-a079-11eb-96d3-9e70d7cac8aa.png

Best regards.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Sentaroh/SMBSync2/issues/232#issuecomment-821971164, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATIFHDV4NNZX32XRPJAF56DTJKZU5ANCNFSM4ZIQPGAQ.

Sentaroh commented 3 years ago

Hi,

Sorry for late response.

Please follow the steps in the link below to get the log and send it to us. https://sentaroh.github.io/Documents/SMBSync2/SMBSync2_Log_EN.htm

  1. Enable logging by Step1 to Step4.
  2. Perform sync for reproduce error.
  3. Send a log by Step6 to Step14.

Best regards.

clach04 commented 1 year ago

Hi Sentorah, The exclude checkbox is already checked, however the app doesn’t seem to care about that and keeps complaining about several files that contain an invalid character. So it seems like the exclude function doesn’t work like it should.

I can't comment on colons but exclude does work for me (https://github.com/Sentaroh/SMBSync2/releases/tag/Ver2.54), with some caveats. @Funwar Please could you attach screen shot of your exclude list?

I opened https://github.com/Sentaroh/SMBSync2/issues/262 for what I discovered (not sure if its relevant or not).