We suppose i have a local file in my sdcard, that an Android app did downloaded and stored, in any time in the remote server this file can change (the content) although the file name is the same.

How can i check the file versions without download the file?

有帮助吗?

解决方案

304 Not Modified http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Get the date from the version of the file on the SD card and ask the server if / for versions newer than that date.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top