I found that this issue was caused on the client side by Safari renaming the 
file.  If you can't fix things on the server as Michael suggests, a solution is 
to make sure that the licence file extension is correctly claimed in your app's 
CFBundleDocumentType and UTExportedTypeDeclarations (conforming to 
'com.apple.xml-property-list') keys in the Info.list, then Safari won't rename 
it (and there's the added benefit that, if it doesn't already, double-clicking 
the file will now open your app).

It's probably a good idea to make sure that your app accepts drags of .xml 
files and tries them out as keys nevertheless, in case people download the file 
on a machine without the app installed.

Jamie.


On 19 Mar 2010, at 17:51, Michael LaMorte wrote:

> I had the same problem. Fortunately, the fix is pretty easy:
> 
> In the AquaticPrime.php file, scroll down to the bottom and look for this 
> line:
> 
>    $headers .= "Content-Type: application/octet-stream; name=\"$name\"\n";
> 
> Now, change it to something like this:
> 
>    $headers .= "Content-Type: application/x-yourappname; name=\"$name\"\n";
> 
> where you replace "yourappname" with, in your case, "rubitrack2". I noticed 
> that the problem started with Snow Leopard; users of OS X 10.5 never reported 
> the problem to me, just the 10.6 users. At any rate, the above tweak should 
> fix your problem for you.
> 
> - Mike
> 
> ---
> Michael A. LaMorte
> Minder Softworks
> a division of Springboard Enterprises Ltd
> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> ------------------------------------
> 
> MacSB email guidelines: http://tinyurl.com/2g55d6
> Use MacSB-Talk for off topic messages: 
> http://groups.google.com/group/macsb-talk
> Yahoo! Groups Links
> 
> 
> 

Reply via email to