Copy link to clipboard
Copied
I have a client who is getting errors when attempting to upload zip files from his Mac (No file). I realize the encoding is different and have been researching the issue without much success. In my attempt to solve the problem I have included every application/type for compressed files that I have been able to find.
The website is on a UNIX server running CF7.
If anyone has had this issue before, I would be interested in hearing your thoughts.
Thanks!
David
Copy link to clipboard
Copied
I cannot help you with MAC/Unix issues. But can you post the error message so someone else can?
Copy link to clipboard
Copied
The form field "file" did not contain a file.
Copy link to clipboard
Copied
Since "File" is a reserved word I would first try using a different name for the form field.
Copy link to clipboard
Copied
I've never had trouble with that as a form field name before and of course I don't use it in functions, however this is my first time working with CF on a UNIX server... The form field accepts serveral file types and we're only having trouble with Mac zip files for whatever reason, it's weird.
Good advice though, I'll avoid that in the future.
Copy link to clipboard
Copied
Sorry, I cannot be of more help. Hopefully someone running MAC/Unix will chime in.
Copy link to clipboard
Copied
Have you examined the form scope to see if there is any data there?
<cfdump var="#form#"><cfabort>
Have you examinied the http post headers to see if the data is there?
There could be any number of systems that might be preventing this file data from making it from the client to the server. I would start with trying to nail down whether the data is even comming into ColdFusion before I loose too much hair on why ColdFusion has a problem.