Hello.
At University of Valencia we are developing a package named "Datamanager" based on OACS 5.1 that allows to copy some objects between communities and import/export to/from other dotlrn platforms.
Now, it's only available in our test server (https://openacs.org/forums/message-view?message_id=403467) and we can manage faq, news, forums, custom portlets and filestorage folders.
The next object we want to manage is photo-album. The problem are that there aren't implemented any API or PLSQL function to copy photos. The idea is to reuse the function "pa_load_images" but for this we need to get the parameter "upload_file.tmpfile" which has a form similar to "/tmp/filevDx7zu"
Anybody knows if it's possible to get a tmpfile from a file that already exists on the platform? Or it's only possible using method POST of a form (photo-add2)?
If it's not possible, anybody have some other idea?
Thanks, Paco Soler.