1

Why "FileOutputStream" is a restricted class in Google App Engine? Is there any other way to use the "FileOutputStream" in Google App Engine?

1 Answer 1

1

java.io.FileOutputStream is a restricted class in Google App Engine for Java because GAE/J apps are not allowed to write data to their local file systems. Therefore, GAE/J apps cannot use this class directly.

By connecting or communicating with applications outside of GAE, writing to a file system (and thus using java.io.FileOutputStream indirectly) may be possible.

GAE/J apps can store persistent data within the Google Cloud environment in ways other than by writing to a local file system.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.