owncloud / android

:phone: The ownCloud Android App
GNU General Public License v2.0
3.84k stars 3.05k forks source link

Option to sync only when on wifi #41

Open zeugmatis opened 11 years ago

zeugmatis commented 11 years ago

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

LennartRoeder commented 11 years ago

check the options, its in there.

zeugmatis commented 11 years ago

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. :-)

davivel commented 11 years ago

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.

iav commented 11 years ago

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.

raoulbhatia commented 10 years ago

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

tobiasKaminsky commented 9 years ago

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

MTRichards commented 9 years ago

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:

AndyScherzinger commented 9 years ago

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)

zeugmatis commented 9 years ago

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 notifications@github.com 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

AndyScherzinger commented 9 years ago

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).

geotheory commented 9 years ago

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

tobiasKaminsky commented 9 years ago

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

geotheory commented 9 years ago

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

tobiasKaminsky commented 9 years ago

@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.

geotheory commented 9 years ago

Marvellous, thanks!

andreas-h commented 8 years ago

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?

tobiasKaminsky commented 8 years ago

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

andreas-h commented 8 years ago

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

tobiasKaminsky commented 8 years ago

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

andreas-h commented 8 years ago

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?

tobiasKaminsky commented 8 years ago

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.

andreas-h commented 8 years ago

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