Thank you , I am glad you appreciate this.
No. In the current imlpementation, Safeshare doesn’t remember who you are between sessions. If you come back from another machine or after clearing your cache, it thinks you are a new visitor. So it can not serve a list of the files you uploaded. It would be possible to log this on a service that you own, though.
It does not serve a list of the files everyone uploaded either, because a specific instance of Safeshare is unaware of the other instances. When you visit the app, you instanciate your own private Safeshare, this is the whole point of working without a server.
It would possible , though, to log the links in a separate service, and have such a list publicly accessible.
In the current implementation, you could think of Safeshare as a Safe network version of pastebin, rather than a file sharing hub. This was the original idea. The hub concept is quite interesting though, and I’m sure it will appear one day or another on the Safe network.
When you upload a file to Safeshare, a folder , a name, service and a folder ( with isPathShared=false ) are created under your account to host it. Then the file is uploaded to that folder.
If you try the safenet.js playground.html by eblanshey , you can make use of :
Safe.dns.getServiceDir to call a GET on /dns/:serviceName/:longNameand ,
or Safe.dns.getFile to call a GET on /dns/:serviceName/:longName/:filePath ,
to check what is actually in the folder and file.
You will see your files inside the folders.
This is how Safenet checks and retrieves uploads, and I would expect the Demo App to do the same when you visit “edit files” from the Demo App.
My understanding is that the Demo app doesn’t see the files in the folder because they are not “isPathShared”, and thus only visible by Safeshare inside its root directory, but I may probably be wrong here, and it could be that the Demo App doesn’t behave as expected.
I tried with no avail to fake being the Demo App by using its ID and names in playground.html to check that. I suppose I don’t have the real correct credentials in https://github.com/maidsafe/safe_examples/blob/master/demo_app/app/package.json, which is good.
I would be glad to have a clear explanation of this by a Maid team developer !