1

I am creating FTP download app that downloads into Documents Directory, and I have simple questions. Does the Documents Directory have size limit and does the download files stay there permanently until the app is removed?

DanM
  • 1,530
  • 4
  • 23
  • 44

3 Answers3

4

I don't know much about this, I had seen a comment in discussions.apple.com like: There is a limit of 2 GB.

https://discussions.apple.com/message/7599983?messageID=7599983#7599983?messageID=7599983

Files in the document directory stay there permanently until the app is removed.

Community
  • 1
  • 1
Midhun MP
  • 103,496
  • 31
  • 153
  • 200
2

============EDIT=========

the fact is: 2Gb is the app size limit, and the app's directory can more than 2Gb; I found it from apple doc is here , search keyword "2G"


I don't know if apple did some change, I use an app named PPTV, it can store videos from server, and more than 2Gb; what happens?

traximus
  • 177
  • 3
  • 15
-1

You should use Cache Directory if you want to cache anything without user's action or your app will get rejected if you dont follow the instructions:

http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/PerformanceTuning/PerformanceTuning.html

Bhupendra
  • 2,525
  • 18
  • 20