[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1636
  • Last Modified:

Can't upload pdf file - using coding codeigniter

Odd issue here.  I have a client using one of our codeigneter applications who can't upload a .pdf file.  The file is 2.3 megabytes in size, but the app allows for 8mg upload. They have other requests that include 4.3mg size files, but those are docx or image files.  I tried upload a very small pdf and that does work.  

The file name is some like this:
Roger's We Love That 2012 Promo 10.13.pdf

And help would be appreciated.
0
justmelat
Asked:
justmelat
  • 4
  • 3
1 Solution
 
Ray PaseurCommented:
Maybe if the file name did not have the quote in it?  Or the blanks.  Or the periods.  I would first eliminate those as possible causes of the issue by copying the file and renaming it to something like "test.pdf"
0
 
justmelatAuthor Commented:
Tried uploading a simple "sample.pdf" and it uploads fine. So I then just shortened the name of the file, no space, no periods, no underscores, it is just welove.pdf and it still will not upload
0
 
Ray PaseurCommented:
Can you post the PDF as an attached file here at EE?  Or can you try uploading it to my server at this URL?
http://www.laprbass.com/RAY_upload_example.php

If you test on my server, it will ask you for up to three file names.  You do not have to fill in any except the one file you want to upload.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
justmelatAuthor Commented:
Hi Ray

I wish I could, but it is a clients' confidential file, so not interested in loosing my job..  Since then though, they and we have uploaded several other files including pdf's of varying sizes, so we and the client have just determined that something was off with that document.   They will bring it to our attention if it happens again.
0
 
Ray PaseurCommented:
confidential file

Uhh, what ever happened to the concept of test data?  If the test data works and the live data fails, the circumstances indicate that the test data does not accurately reflect the live data, and that pretty much means that the tests are untrustworthy.  In any case, a professional solution would include understanding the differences between the test data and the live data.  That's why I thought you might want to try uploading it somewhere else - you could see if the upload process was at fault or if other factors were at fault.  Since the upload to my server only does uploads, and no other meaningful processing, it would have helped you understand where to look next.

Best of luck with it, ~Ray
0
 
justmelatAuthor Commented:
Hi All

Finally located some s/w that checks and provides info on the make up of differences in various file types.  Long story short, the marketing dept that creates these pdf's uses some filtering software, it didn't corrupt the files, but did something to alter the normal pdf file make up.  When I ran their pdf and a pdf that we created, we could see the varying info.
0
 
justmelatAuthor Commented:
found solution with help of client,.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now