android icon indicating copy to clipboard operation
android copied to clipboard

Option to sync only when on wifi

Open zeugmatis opened this issue 12 years ago • 22 comments

Would be nice to have an option to sync only when on wifi so as to avoid outrageous bandwidth charges by phone companies.

zeugmatis avatar Nov 30 '12 18:11 zeugmatis

check the options, its in there.

LennartRoeder avatar Dec 04 '12 10:12 LennartRoeder

Thanks for this - I guess what I meant is, not only pictures but if/when folder syncing is supported (Music, Documents, Pictures) - these too. (or any other folder user decides they want to keep synced)

App is working great for me otherwise - downloaded an mp3 and it showed up in winamp. :-)

zeugmatis avatar Dec 04 '12 16:12 zeugmatis

We are currently working in some improvements in synchronization. Sync oinly when on wifi is not planned for our next release, but will be probably achieved in a near future. Please, be patient.

davivel avatar Dec 05 '12 08:12 davivel

A possibility to add black and white wifi network lists may be usable. Like sync only in homa and work wifi. Or don't automaticaly sync via payed wifi at hotel.

iav avatar Jan 03 '13 19:01 iav

i also experience hefty data usage because the owncloud app syncs every minute even if the app running in the background only:

logfile excerpt:

xxx.xx.xxx.xxx - username [26/Mar/2014:10:33:03 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:34:04 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:35:06 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:36:07 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:37:08 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:38:09 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:39:11 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:40:13 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:41:14 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud" xxx.xx.xxx.xxx - username [26/Mar/2014:10:42:15 +0100] "PROPFIND /remote.php/webdav/InstantUpload/ HTTP/1.0" 207 609 "-" "Android-ownCloud"

wifi and mobile data usage combined show around 3gb of data usage on my phone - this is too much!

Is there any way to address this issue? Should i file a new issue?

Thanks, Raoul

raoulbhatia avatar Mar 26 '14 09:03 raoulbhatia

First I will do the "sync only on wifi". I have created another issue (#826) for black/white listing a wifi.

tobiasKaminsky avatar Dec 30 '14 08:12 tobiasKaminsky

As an ownCloud user, I want to be able to specify whether I want my ownCloud client to sync folders and files with the server only when on Wifi so that I can save bandwidth and still have my files in sync across devices.

Acceptance Criteria:

  • Option is a checkbox on the settings page
  • The Instant uploads section header is changed to say sync settings
  • Above the instant upload options is a new switch called “sync on wifi only”

MTRichards avatar Sep 04 '15 16:09 MTRichards

One issue I had with the wifi upload on my vacation was that the sync started being on wifi (as it should) but went on after I lost the wifi connection and further uploaded the files and thus impacted my data plan (being in a foreign country) pretty heavily with no possibility to cancel the uploads (I know their is already an issue opened for cancellations)

AndyScherzinger avatar Sep 07 '15 10:09 AndyScherzinger

Yes pretty nasty bug - was this recent? For the phone grabbing files as needed would be fine in my case, with the laptop doing all the syncing.

Mark

Syminet Internetworking Solutions https://secure.syminet.com/ 1-949-379-8472 ext. 8049 GPG: 2048R/966057BB

On September 7, 2015 5:36:38 AM CDT, Andy Scherzinger [email protected] wrote:

One issue I had with the wifi upload on my vacation was that the sync started being on wifi (as it should) but went on after I lost the wifi connection and further uploaded the files and thus impacted my data plan (being in a foreign country) pretty heavily with no possibility to cancel the uploads (I know their is already an issue opened for cancellations)


Reply to this email directly or view it on GitHub: https://github.com/owncloud/android/issues/41#issuecomment-138266840

zeugmatis avatar Sep 07 '15 12:09 zeugmatis

Yes, in the last two weeks with the git master on my phone.

Imho a "simple" solution would be to check before every file if "wifi only" is activated and wifi connected and then upload the next file and else to stop (or pause).

AndyScherzinger avatar Sep 07 '15 12:09 AndyScherzinger

Sounds to me like a sensible solution to a 3 year old problem.

geotheory avatar Sep 20 '15 10:09 geotheory

@AndyScherzinger @zeugmatis @geotheory This is a separate issue, please track it there: #1166

tobiasKaminsky avatar Sep 20 '15 11:09 tobiasKaminsky

That's only for pictures/videos as I understand.

geotheory avatar Sep 20 '15 11:09 geotheory

@geotheory Currently it is only for instant upload, which is as for now only for photos and videos. A sync for folder with any content is currently delevoped by @davivel (#3). When this is completed it should give an independent preference to control it.

tobiasKaminsky avatar Sep 20 '15 12:09 tobiasKaminsky

Marvellous, thanks!

geotheory avatar Sep 21 '15 09:09 geotheory

What's the status on this issue? I got confused by some earlier comments. I'm running 1.9.0 from F-Droid and cannot find a 'sync on WiFi only' option. Is it there yet? Any idea on when it's coming?

andreas-h avatar Jan 01 '16 15:01 andreas-h

This should be already included, but you must first enable "instant photo upload".

tobiasKaminsky avatar Jan 01 '16 17:01 tobiasKaminsky

got it. so this means if i enable 'only on wifi' for pics and vids, then also the 'normal' sync only happens over wifi?

andreas-h avatar Jan 01 '16 20:01 andreas-h

No no, as stated above this is only for instant upload. The sync will happen only if you swipe/pull down the directory content.

tobiasKaminsky avatar Jan 01 '16 20:01 tobiasKaminsky

Mh, not sure if we understand each other correctly.

I have a folder set up to be synced between my mobile and the owncloud server. I have auto-upload of pics and vids enabled, with the 'only on wifi' option. Does this mean that the folder will also only sync on wifi?

andreas-h avatar Jan 01 '16 22:01 andreas-h

Currently there is no automated syncing of a folder. You can only manually start a sync of a directory. There is only auto-upload/instant-upload, and all settings are related only to this.

tobiasKaminsky avatar Jan 02 '16 09:01 tobiasKaminsky

Now I got it - thanks for your patience ;-)

andreas-h avatar Jan 02 '16 09:01 andreas-h