How do I only download new files from a server?

前端 未结 4 404
囚心锁ツ
囚心锁ツ 2020-12-10 09:21

I have a number of CSV files that I want to download from Yahoo finance each day. I want my application to read the file\'s creation date (on my computer, not the server). I

4条回答
  •  忘掉有多难
    2020-12-10 09:48

    I might be missing something but I can't see why you would need JNI or POI to download a file. If you are downloading the file with HTTP, you can use an HttpURLConnection with the "If-Modified-Since" request header.

提交回复
热议问题