Calling files hosted on other servers


Author
Message
mrsuther
mrsuther
Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 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 (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)
Group: Administrators
Posts: 10K, Visits: 56K
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 (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 reputation)Partner Member (534 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
Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)
Group: Forum Members
Posts: 8, Visits: 71
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 (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)Supreme Being (817K reputation)
Group: Administrators
Posts: 10K, Visits: 56K
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