<br><br><div class="gmail_quote">On Thu, Dec 30, 2010 at 10:26 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Dec 30, 2010 at 10:06:15PM -0500, Erik Blankinship wrote:<br>
> I check to see if the file_path ends in gtar or tar (presumably<br>
> assigned by the datastore mime-type?) and some debugging tells me it<br>
> does not. Instead I get a path<br>
> /home/olpc/.sugar/default/data/rawobject3dkJYR<br>
<br>
</div>I don't think the datastore is intended to add a valid extension to the<br>
path. Can you not rely on the mime-type instead? What does the<br>
datastore say the mime-type is?</blockquote><div><br></div><div>The mime type is reported correctly off of the usb, so I can use that instead of extension.</div><div><br></div><div>Thanks much for your help everyone!</div>
</div>