on 15-05-2012 10:22 AM
I want to write a program to read note on the psv, so if I use cma to copy the txt file into psv, how to use program to read the file ? I can't find any api in the document and I also try the system.IO.filestream, it even can not create any file by program.
Solved! Go to Solution.
on 15-05-2012 11:42 AM
With System.IO.filestream you have read/write access only to the following folders:
/Documents/
/Temp/
If you want to have your data persist after having closed your app, use the Documents folder.
Temp folder will be cleaned after closing the session.
Please also note that is not allowed to write in subfolders at this moment.
on 16-05-2012 03:05 AM
on 16-05-2012 08:36 AM
At this moment it is not possible to place content in that folder using the Content Manager Assistent (CMA).
In general, your app lives in a (very restricted) sandbox where other apps do not have write access to.
So, you will have to find (implement) another way to import data into that folder ... using your app.
For example, via a web request, socket connection, ...
on 16-05-2012 02:27 PM
> "Please also note that is not allowed to write in subfolders at this moment."C
Currently you can only write 5 layers below the main directory.
Example:
"/Application/1/2/3/4/5.dat" -> OK (Same as Documents/, Temp/ directories)
"/Application/1/2/3/4/5/6.dat" -> Not Good (Same as Documents/, Temp/ directories)
on 16-05-2012 03:55 PM
Thanks James,
I had used only FileStream which does not automatically create a subdirectory when it doesn't yet exist. Forgot to use Directory.CreateDirectory(path) to do that.
So you are completely right that it is possible to create subdirectories.
One question about the Application folder:
Although it currently is possible to write in that folder, will that be allowed in future releases as well?
[In File Path Changed in Open Beta you say
"... that you currently have write access too and we are working to correct this at the moment (for the next SDK release). "
]
on 16-05-2012 05:43 PM
PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.
フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと
PSM DevPortalを一度ログアウトし、再度ログインしてください。


Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870