AW: can't open file on web server

2017-01-27 Thread Tiemo Hollmann TB via use-livecode
Hi Malte,
thanks, that worked.
Perhaps an issue fort he docs
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
Malte Brill via use-livecode
Gesendet: Donnerstag, 26. Januar 2017 13:36
An: use-livecode@lists.runrev.com
Cc: Malte Brill 
Betreff: Re: can't open file on web server

Hi Tiemo,

did you try the URL directly without using the binfile keyword?

put URL „http://www.somServer/someImage.jpg 
<http://www.somserver/someImage.jpg>“ into img „myImage“ ? This works here. If 
you are using either the file or binfile keyword you are indicating file access 
to the engine, which might work with a UNC path, not if the protocoll for 
transmission is http though. 

Hope that helps,

Malte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: can't open file on web server

2017-01-26 Thread Malte Brill via use-livecode
Hi Tiemo,

did you try the URL directly without using the binfile keyword?

put URL „http://www.somServer/someImage.jpg 
“ into img „myImage“ ? This works here. If 
you are using either the file or binfile keyword you are indicating file access 
to the engine, which might work with a UNC path, not if the protocoll for 
transmission is http though. 

Hope that helps,

Malte

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

can't open file on web server

2017-01-26 Thread Tiemo Hollmann TB via use-livecode
Hello,

I have a field "MediaFileLink", the content is a URL to an image on a web
server like "http://myServer/myPath/myImage.jpg";

this works in IDE:

*set the filename of img "productimage" to field "MediaFileLink"*

This works not in IDE:

*put URL ("binfile:" & field "MediaFileLink) into image "productimage"*

Also not hard coded:

*put URL ("binfile:http://myServer/myPath/myImage.jpg";) into image
"productimage"*

I get as a result "can't open file"

 

Any idea, why those images can't be opened by LiveCode with the keyword URL
(I am not aware of having locked those images on the server) and why it
works by setting the filename?

Thanks

Tiemo

 

 

 

 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode