[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eCloud Storage is recommended for reading and writing files in App Engine.\u003c/p\u003e\n"],["\u003cp\u003eTemporary files can be written to the \u003ccode\u003e/tmp\u003c/code\u003e directory using language-specific methods.\u003c/p\u003e\n"],["\u003cp\u003eFiles in \u003ccode\u003e/tmp\u003c/code\u003e are stored in the instance's RAM and consume system memory.\u003c/p\u003e\n"],["\u003cp\u003eTemporary files in \u003ccode\u003e/tmp\u003c/code\u003e are only accessible to the instance that created them and are deleted when the instance is deleted.\u003c/p\u003e\n"]]],[],null,["# Reading and writing temporary files\n\nGo Java Node.js PHP Python Ruby\n\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nWhile [Cloud Storage](/appengine/docs/standard/using-cloud-storage)\nis the recommended solution for reading and writing files in App Engine,\nif your app only needs to write temporary files, you can use language-specific\nmethods to write files to a directory named `/tmp`.\n\nAll files in this directory are stored in the instance's RAM, therefore writing\nto `/tmp` takes up system memory. In addition, files in the `/tmp` directory are\nonly available to the app instance that created the files. When the instance is\ndeleted, the temporary files are deleted.\n\n\u003cbr /\u003e"]]