| View previous topic :: View next topic |
| Author |
Message |
mplacona
Joined: 07 Aug 2007 Posts: 28
|
Posted: Wed Aug 22, 2007 5:32 am Post subject: Copy entire folder |
|
|
Hi guys, I'm pretty new to the PSP Development, and I was wondering if it's possible to copy an entire folder from one place to another programatically.
I've had a look at the other topics, but couldn't find something that suits me.
Do you have any advices for me?
thanks |
|
| Back to top |
|
 |
flatmush
Joined: 07 Aug 2007 Posts: 28 Location: Here
|
Posted: Wed Aug 22, 2007 6:47 am Post subject: |
|
|
| There is no function I know of that will do what you are imagining. What you want to do is google recursive folder/file copying algorithms and write your own. |
|
| Back to top |
|
 |
mplacona
Joined: 07 Aug 2007 Posts: 28
|
Posted: Wed Aug 22, 2007 7:21 am Post subject: |
|
|
Ok, so can you at least point out to which functions I need to use to list the folder contets and how to copy a file froma folder to another\/
from that point I can go alone :)
Thanks |
|
| Back to top |
|
 |
flatmush
Joined: 07 Aug 2007 Posts: 28 Location: Here
|
Posted: Wed Aug 22, 2007 8:43 am Post subject: |
|
|
basically you will need most of the sceIo functions, refer to your sdk or the doxygen to find their definitions.
Basically you will need Make Dir, Dread, Stat and you will have to write your own streamed copy function using fopen/fread/fwrite/fclose or the sceio alternatives. |
|
| Back to top |
|
 |
|