Off the top of my head: If you're getting people to upload to a mac and you're concerned that you're not getting the right file associations for double-clicking, then there's two fixes:
  • Firstly make sure people upload files with extensions (like 'PhotoshopFile.psd'). Doing that, your mac will use File Exchange to associate with the correct application.
  • Secondly, you could get the file type of the uploaded file. This can be ascertained in several ways, possibly including using the content-type of the upload. Once you get this you can either use MacPerl to change the file's Type and Creator to get your associations right or you could rename the file with an appropriate extension to get File Exchange to fix it.

    In reply to Re: Macintosh upload by BigLug
    in thread Macintosh upload by Stimpy

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.