Skip to main content
February 2, 2007
Question

folder and file management

  • February 2, 2007
  • 1 reply
  • 274 views
I'm trying to learn how to do some folder/file management using the File() class but I'm finding the documentation is not really giving me anough information or examples to apply the methods.

1. User connects using NetConnection. application.onConnect() - complete
2. client SubFolder is created in application streaming folder - complete
3. User records a stream using the microphone into the client subFolder
4. User disconnects NetConnection. application.onDisconnect() - complete
5. User's recordings are deleted and client subFolder is removed

I have managed to complete step 1 and 2
and am currently attempting to delete the folder onDisconnect but the File.remove() command fails.

I'm really yearing my heair out on this one... can someone point me in the direction of a simple example or otherwise explain how this can be done?

I would be massively grateful.

I wish there was some better documentation for the ss_asd.
    This topic has been closed for replies.

    1 reply

    February 2, 2007
    Cna you post your code? It's tough to figure where you're going wrong without seeing what you're doing.