Hi Krzysztof,

I have been testing upload with latest code frmo trunk on windows7 again.

Upload of PDF and import + drag to whiteboard working fine
Upload of PNG and import + drag to whiteboard working fine
Upload of PNG and import to profile pic working fine
Upload of JPEG and import + drag to whiteboard working fine
Upload of JPEG and import to profile pic working fine

The code snippet that you've posted in the Download-Handler is actually
refering to the part of the code that handles if the import failed, we have
implemented a "default" document/image if the upload/improt fails like that:
If the system can't find the file, it will try to use a single static
default document.

I have been verifying if this works by manipulating the successfully
uploaded file on the hdd directly and it also does work, it shows the
"deleted" document on the whiteboard when loading the missing file.
BUT you are right, the slashes in the loading this "fail-document" is
duplicate, the path on my the log is:
C:\Users\swagner\workspaces\indigo_red6\ROOT_video\dist\red5\webapps\openmeetings\\default\deleted.swf
... But the deleted.swf will still load. So we will fix those duplicated
slashes, but they have no effect, if the file exists, Java will find it
also with double //

You should check pdf2swf, ghostscript and imagemagick to be correctly
installed.


Sebastian

Am 20.11.2011 21:23 schrieb "seba.wag...@gmail.com" <seba.wag...@gmail.com>:

> Okay we'll double check on that. But I doubt that this double slashes have
> the described effect of your profile picture issue.
> Am 20.11.2011 20:46 schrieb "Krzysztof" <stock1...@gmail.com>:
>
>> Hi Sebastian,
>>
>> I won't argue about uploading swf files, as I wrote, I'm not sure
>> about the suggested fix.
>> But I'm pretty sure about  "webapps/openmeetings/default" directory
>> bug.
>> If you have
>>
>> String current_dir = getServletContext().getRealPath("/");
>> working_dir = current_dir + "upload" + File.separatorChar;
>>
>> then there should be
>>
>> full_path = current_dir + "default" + File.separatorChar + ...;
>>
>> Krzysztof
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenMeetings User" group.
>> To post to this group, send email to openmeetings-user@googlegroups.com.
>> To unsubscribe from this group, send email to
>> openmeetings-user+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/openmeetings-user?hl=en.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to openmeetings-user@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to