openmeetings-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjay Rao <san...@4raos.com>
Subject importFileByInternalUserId doesn't work
Date Mon, 22 Jul 2013 04:00:22 GMT
Not sure if this has been addressed already. I am using
importFileByInternalUserId() to add a file to a room as in the example
below:

$url = $this->getUrl()."/services/FileService/importFileByInternalUserId?" .
                                        "SID=".$this->session_id .
                                        "&internalUserId=1" .
                                        "&externalFileId=1" .
                                        "&externalType=Testing" .
                                        "&room_id=9".
                                        "&isOwner=1".
                                        "&path=
http://example.net/tmp/logo.jpg".
                                        "&parentFolderId=1".
                                        "&fileSystemName=logo.jpg";

I don't see any error and from the log it seems to have worked. However, I
don't see the file "logo.jpg" when I press "Files" tab of room# 9. Not sure
what I am doing wrong. Appreciate any help to understand the issue.

Thanks
Sanjay Rao


DEBUG 07-22 03:57:33.229 o.a.o.d.f.FileProcessor:74
[http-bio-0.0.0.0-5080-exec-2] - newFileExt: jpg
DEBUG 07-22 03:57:33.229 o.a.o.d.f.FileProcessor:87
[http-bio-0.0.0.0-5080-exec-2] - isAsIs: true
DEBUG 07-22 03:57:33.230 o.a.o.d.f.FileProcessor:99
[http-bio-0.0.0.0-5080-exec-2] - writing file to:
/home/carecollab/public_html/openmeetings/webapps/openmeetings/upload/files/3ee8abf5fba906bff324fc332f6f7613.jpg
DEBUG 07-22 03:57:33.234 o.a.o.d.f.d.FileExplorerItemDao:54
[http-bio-0.0.0.0-5080-exec-2] - .add(): adding file logo.jpg roomID: 9
DEBUG 07-22 03:57:33.240 o.a.o.d.f.d.FileExplorerItemDao:78
[http-bio-0.0.0.0-5080-exec-2] - .add(): file logo.jpg added as 11
DEBUG 07-22 03:57:33.242 o.a.o.d.f.FileProcessor:140
[http-bio-0.0.0.0-5080-exec-2] - fileExplorerItemId: 11
DEBUG 07-22 03:57:33.242 o.a.o.d.f.FileProcessor:144
[http-bio-0.0.0.0-5080-exec-2] - canBeConverted: false

[image: Inline image 1]

Mime
View raw message