Calling files hosted on other servers


Author
Message
mrsuther
mrsuther
Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)
Group: Forum Members
Posts: 4, Visits: 48
Hello,
Quick question: If one places a script on the millisecond.com server, can that script contain calls to files hosted on another server?
Here is my problem:
We have a picture rating experiment with many images, and the files far exceed the allotted server space that millisecond.com provides. So we put these images on another server, yet our calls to this server from our millisecond.com script results in errors stating that the file cannot be located. Based on the instruction guide, it doesn't explicitly say whether we can in fact call files from other servers when placing our main script on the millisecond.com server.
Does anyone know if this is possible?
Thanks in advance. :-)
Cheers!

Tags
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 103K
Yes, you can absolutely do this. Include the file location (i.e. URL) in the specification for the respective items

<picture mypicture>
/ item = myitems
...
</picture>

<item myitems>
/ 1 = "http://www.myserver.com/mydirectory/image01.jpg"
/ 2 = "http://www.myserver.com/mydirectory/image02.jpg"
/ 3 = "http://www.myserver.com/mydirectory/image03.jpg"
...
</item>

and it should work just fine.

mrsuther
mrsuther
Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)Partner Member (729 reputation)
Group: Forum Members
Posts: 4, Visits: 48
Hi Supreme Being,
Thanks for the speedy reply!
I was able to get everything working based on your response, and my experiment is now live. :-)
Cheers!

xizhouxie
xizhouxie
Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)Respected Member (388 reputation)
Group: Forum Members
Posts: 24, Visits: 104
Hi Dave, we tried to link photos/sounds on google drive/ box drive and it won't work, using your code above. Does it have to be hosted publicly?
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 103K
xizhouxie - 3/12/2020
Hi Dave, we tried to link photos/sounds on google drive/ box drive and it won't work, using your code above. Does it have to be hosted publicly?

The files need to be world-readable, yes.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search