Search found 574 matches: mtp

Searched query: +mtp

by peekaa
31 Oct 2024, 11:55
Forum: Help
Topic: mtp long time
Replies: 2
Views: 304

Re: mtp long time

Yes, this helps.
by Zenju
31 Oct 2024, 11:41
Forum: Help
Topic: mtp long time
Replies: 2
Views: 304

Re: mtp long time

I saw these hangs when trying to rename a file on some MTP devices. For whatever reason the smartphone gets freaked out and blocks for 30 seconds, apparently doing nothing.

To verify you could test disabling the DB file (which renames the file sync.ffs_tmp to sync.ffs_db).
by peekaa
28 Oct 2024, 06:05
Forum: Help
Topic: mtp long time
Replies: 2
Views: 304

mtp long time

when synchronizing from mtp (cell phone) to pc over usb cable, it takes a few seconds until I see 100% done,. Then there is the dialog for 45s until message that all is done. My idea is that its about creating app-file sync on mtp storgage. Consistent with this, when I sync from pc to mobile, it takes ...
by Zenju
25 Oct 2024, 09:40
Forum: General Discussion
Topic: Folder for recycling on the ftp server
Replies: 1
Views: 180

Re: Folder for recycling on the ftp server

That's just normal behavior. You can select any folder for versioning, doesn't matter if local, (S)FTP, MTP, or Google Drive: https://freefilesync.org/manual.php?topic=versioning
by John1234
28 Sep 2024, 22:01
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

@dave_m

You are welcome.

One of the things that's nice about foldersync is that it supports about a dozen Cloud providers including Google and Microsoft and many others so I'm a Microsoft user and have storage on one drive and I can use that program to back up files to OneDrive. It does my text ...
by dave_m
28 Sep 2024, 12:51
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

@John1234

Hi, thank you for your responses. It's been a busy week, so I haven't had time to look into this topic. In the meantime, I have found another open source application that also works correctly.

SshDaemon:
https://f-droid.org/en/packages/com.daemon.ssh/
https://play.google.com/store/apps ...
by John1234
24 Sep 2024, 19:18
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

@dave_m,

Hi,

I installed the f-droid primitive sftp server and it set the date of each file to today's date, just like it did for you. It's the apps fault.

Try the one I recommended, it works correctly!!
by John1234
23 Sep 2024, 23:13
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

Hi,

The free SFTP server that I recommended allows FFS to preserve all of the original date and time stamps.
I don't have all files with the same date or the date I run the sync.

You can also approach the problem from another direction. There is a program in the Google Play store called "folder ...
by dave_m
22 Sep 2024, 06:13
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

thanks for your support.

I prefer an open source variant of an sftp server application. I tried https://f-droid.org/en/packages/org.primftpd/
and the synchronized data has the modification date of today again, so basically no solution.

Any other ideas?

I was thinking about rsync as a last resort ...
by John1234
20 Sep 2024, 19:02
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

Let me know if you get stuck setting up the SFTP server.
You should add a new user and set a password.
For the Path alias this should work: "Alias:/" and then "/storage/emulated/0". You're phone may differ.
by dave_m
19 Sep 2024, 21:21
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

Thank you for your answers.

as @John1234 suggested, I will try the SFTP server approach.
by Zenju
19 Sep 2024, 08:19
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

... although not completely accurate.

Unfortunately that makes it sound as if the issue were with FreeFileSync, when it really is with Google.

And in fact syncing with Android does work correctly in some cases (or even most of the time), so it's wrong to say "MTP isn't supported" in general.
by John1234
17 Sep 2024, 06:17
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

Hi,

I get good results with FFS when using SFTP to sync wirelessly to my phone.

I use a free SFTP server from Google Play.

https://play.google.com/store/apps/details?id=net.xnano.android.sshserver

Works better that MTP.

Give that a try.
by xCSxXenon
16 Sep 2024, 14:59
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date



Because MTP doesn't support it

MTP is not the issue, BUT: Google doesn't implement it properly. On some Android phones it works, on others it doesn't, but it isn't a problem with the MTP specification.


This is true! For me and many others, it has essentially evolved into an MTP issue for all ...
by Zenju
16 Sep 2024, 09:13
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Re: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date


Because MTP doesn't support it


MTP is not the issue, BUT: Google doesn't implement it properly. On some Android phones it works, on others it doesn't, but it isn't a problem with the MTP specification.

FreeFileSync correctly sets the WPD_OBJECT_DATE_MODIFIED attribute, which isn't of much ...
by dave_m
13 Sep 2024, 18:47
Forum: Help
Topic: Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date
Replies: 14
Views: 617

Sync from Windows-Share to MTP-Device (Android Phone) sets modified date to sync date

Hello,

I am facing the following problem.

I have synchronized some folders from my MTP device (Android Phone) with my Windows folder share via FreeFileSync on Windows.

For other reasons, it was necessary to perform a hard reset of my Android Phone.

After the hard reset, I synced the folders from ...
by Plerry
17 Aug 2024, 20:49
Forum: General Discussion
Topic: Feature request: adb file transfer
Replies: 4
Views: 1269

Re: Feature request: adb file transfer

As suggested multiple times in this forum, instead of using the (often buggy) native MTP protocol of your phone, you can install an sftp server on your phone and sync via FFS using the SFTP protocol.
search.php?keywords=android+sftp
by zues121510
17 Aug 2024, 14:21
Forum: General Discussion
Topic: Feature request: adb file transfer
Replies: 4
Views: 1269

Feature request: adb file transfer

... root of my android device to my PC, however it can take upwards of 10 hours in some instances even when using usb 3.0. The main reason is that the MTP protocol does not allow for parallel transfers, however programs like "adb explorer" get around this issue with usb debugging, this has made multi ...
by sronweb
01 Aug 2024, 17:50
Forum: Help
Topic: Android phone does not appear mounted (Solved)
Replies: 3
Views: 992

Android phone does not appear mounted (Solved)

... FFS, when it's connected to pc with usb cable, appear just for a moment and then it disappear.
To mount it in FFS the path is /run/user/1000/gvfs/mtp:host=Google_Pixel_6_Pro.... but the gvfs directory is empty so FFS has error "ENOENT: No such file or directory [lstat]"
I understand that GVFS is ...
by bmg_blue1
04 Jul 2024, 15:34
Forum: Help
Topic: Can't use freefilesync from pc to phone
Replies: 1
Views: 256

Can't use freefilesync from pc to phone

does anyone know a resolution to this problem? or alternitevely how i can make my pixel 8a use MTP protocol, i guess
by ClutterCutter
01 Jul 2024, 14:32
Forum: Help
Topic: Mac and Android Sync Howto?
Replies: 8
Views: 1097

Re: Mac and Android Sync Howto?

... software can do.


Quite so. I've had chance to fiddle around a bit more today and can declare the combination of Commander One Pro for MacOS MTP access and FreeFileSync for backup/synchronisation a TOTAL SUCCESS! :)

So all of the above about rsync can be ignored as a red herring. Simply ...
by ClutterCutter
28 Jun 2024, 20:05
Forum: Help
Topic: Mac and Android Sync Howto?
Replies: 8
Views: 1097

Re: Mac and Android Sync Howto?

... can't be used to back up application data any more.

Hence me searching to see whether I was missing something re. FFS not being able to access MTP devices on MacOS, and coming across this thread. I was: it turns out it can't. The documentation isn't very clear. But I guess writing a suitable ...
by xCSxXenon
18 Jun 2024, 14:28
Forum: Help
Topic: FFS hanging after first run until Windows restart
Replies: 12
Views: 633

Re: FFS hanging after first run until Windows restart

... as the issue is clearly not caused by FreeFileSync:
and during that time I also couldn’t open Windows File Explorer



It's a "bug" of the MTP device, e.g. like this one: https://freefilesync.org/forum/viewtopic.php?t=9727


I agree, not caused by FFS. But! If a dump can reveal a smoking ...
by Zenju
18 Jun 2024, 10:10
Forum: Help
Topic: FFS hanging after first run until Windows restart
Replies: 12
Views: 633

Re: FFS hanging after first run until Windows restart

... ¹: If software = Android and vendor = Google, chances of success are 0%. Google hates it when you don't use their own cloud sync. MTP "bugs" like minute-long hangs after rename or delete, as well as failure to set modification time simply will never be fixed for older Android. To ...
by Zenju
18 Jun 2024, 09:32
Forum: Help
Topic: FFS hanging after first run until Windows restart
Replies: 12
Views: 633

Re: FFS hanging after first run until Windows restart

... org/faq.php#crash


I doubt the crash dump will reveal anything meaningful, as the issue is clearly not caused by FreeFileSync:
and during that time I also couldn’t open Windows File Explorer



It's a "bug" of the MTP device, e.g. like this one: https://freefilesync.org/forum/viewtopic.php?t=9727
by xCSxXenon
17 Jun 2024, 14:44
Forum: Help
Topic: FFS hanging after first run until Windows restart
Replies: 12
Views: 633

Re: FFS hanging after first run until Windows restart

I have no issues performing multiple syncs to my phone, no restarts or hangs other than when the MTP connection gets "out of sync" and I have to replug the USB into the phone. Now, I am not saying that you aren't encountering a FFS issue, but that it certainly could be something with your specific ...
by xCSxXenon
16 Jun 2024, 17:39
Forum: Help
Topic: FFS hanging after first run until Windows restart
Replies: 12
Views: 633

Re: FFS hanging after first run until Windows restart

MTP sucks, highly dependent on manufacturer implementation
https://freefilesync.org/forum/viewtopic.php?t=8728

It's pretty good on my S23 Ultra, but I still regularly have to disconnect and reconnect my phone for a proper comparison to go through, along with using content comparison because ...