Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Problem with MIME::Parser and filenames

by Laurielounge (Acolyte)
on Oct 10, 2017 at 23:12 UTC ( [id://1201127]=note: print w/replies, xml ) Need Help??


in reply to Re: Problem with MIME::Parser and filenames
in thread Problem with MIME::Parser and filenames

Good idea. Didn't help though... exactly the same outcome.
  • Comment on Re^2: Problem with MIME::Parser and filenames

Replies are listed 'Best First'.
Re^3: Problem with MIME::Parser and filenames
by tangent (Parson) on Oct 11, 2017 at 00:27 UTC
    FWIW I sent myself a xlsx file with the same name as yours. It came in with the same Content-Type (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) and MIME::Parser saved the attached file correctly. So I don't think Content-Type is the problem. Could it be some type of filename length restriction - try adding something like this to your script:
    system('getconf NAME_MAX ' . $tmpdir);

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201127]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found