Thank you for your input. This is frustrating to me because this script DID work for many books, and only recently has it gone wonky. Hence my posting here.

Yes, the 'ls' is the OSX system command. Under that author here is what ls tells me:

ls -al "/Volumes/Backup3/httpd/public/local/fiction/data/Baldacci,Davi +d" -rw-r--r--@ 1 user admin 3115762 Feb 13 2019 End Game.epub drwxr-xr-x 6 user admin 204 May 30 2016 Saving Faith.epub

As you can see 'Saving Faith' is a directory, and only 204 bytes. But in Finder it shows up as 1MB and opens in iBooks.

As for other possibilities, I haven't altered the Apache config for years - if it works I leave it alone. No modules in there.

Something screwy in Skagway here :)


In reply to Re^2: copy an epub as a file, not a directory by Trudge
in thread copy an epub as a file, not a directory by Trudge

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.