Hello, looking for an example or reference for Link To regarding file attachments.
I have the Link To widget in my custom app functioning, for example I can add an address book link and save. I’m having some trouble with the file attachment. I have looked through the other applications, but I have been unable to pinpoint what I am missing.
Here is the error I am getting:
egw_link::attach_file(test,2,Array([tmp_name] => /tmp/phpfufrrv[type] => image/png[size] => 361838[name] => myapp.png[error] => 0[path] => myapp.png[ip] => 10.1.1.1),) Can’t mkdir links://example.com/apps/test/2!
So in the example below if I manually create the ~test/2 directory the attachment is successfully uploaded. Is there a standard method to create the destination directory if it does not exist?
I am running Trunk 1.9.019 (from October 2013 Checkout)