How to directly load database materials into exporter?
How to directly load database materials into exporter?
Is there a way to download a PIGM file from the internet and load it into the exporter without the user having to save the PIGM to a specific location and then browse to load it? I think Maxigo does this but I am a bit stumped for how to do this using Ruby and Javascript.
Re: How to directly load database materials into exporter?
Use net/http to download the file. Use the json code to search for materials, then fire net/http, or open-uri, then you're good to go 

Re: How to directly load database materials into exporter?
Hey Whaat,
Maxigo downloads pigm from the database to a temporary folder. That's why the saving process seems transparent for the user. I never ask for the location to save, but using a temp folder instead.
Maxigo downloads pigm from the database to a temporary folder. That's why the saving process seems transparent for the user. I never ask for the location to save, but using a temp folder instead.
Re: How to directly load database materials into exporter?
Yes, I assumed that. My problem is that I don't know how to download to the temporary folder. I don't know how to control the path for the download.suvakas wrote:Hey Whaat,
Maxigo downloads pigm from the database to a temporary folder. That's why the saving process seems transparent for the user. I never ask for the location to save, but using a temp folder instead.
@benn: Thanks, but your post was not very helpful. I'm not a programmer by trade, remember?

Re: How to directly load database materials into exporter?
im looking for a way to download stuff via c++.
if anyone know one, id appreciate a hint
if anyone know one, id appreciate a hint

Re: How to directly load database materials into exporter?
libcurl ?fused wrote:im looking for a way to download stuff via c++.
if anyone know one, id appreciate a hint
Re: How to directly load database materials into exporter?
ah yes. now you said it i recall Nick said it once...
thanks a million!
thanks a million!

Who is online
Users browsing this forum: No registered users and 5 guests