I thought the master account could see the child files?

Last post 10-13-2007 4:27 AM by BarryR. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 10-12-2007 11:58 PM

    I thought the master account could see the child files?

    I have files under the child account but when I login as the master I see nothing. Is there some way I can see all the files under my account, children and all? 

  • 10-13-2007 4:27 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: I thought the master account could see the child files?

    When calling ListFolders you need to pass it the full path to the child so it knows which application and child you are looking at, an example would be:

    Master Account: mytestmaster

    Application: mytestapp

        Child Account #1: childtest1

        Child Account #2: childtest2


    First we would log into the account mytestmaster getting a session token.

    http://services.nirvanix.com/ws/Login.ashx?username=mytestmaster&appkey=APPKEYABC123&password=mymasterpassword 

    Returns: SessionToken - ABC123SESSIONTOKEN123 

    Second we need to call list folders passing in the application and path to the child account we want to view:

    http://services.nirvanix.com/ws/IMFS/listfolder.ashx?sessiontoken=ABC123SESSIONTOKEN123
    &folderpath=//mytestapp/childtest1/&pageNumber=1&pagesize=500

    This would return all files / folders in the root of childtest1 under the mytestapp application.  Be sure to include the // to specify this is an absolute path.  Also keep in mind that master accounts have their own unique file systems as well.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
Page 1 of 1 (2 items)