Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFFILE Uploading Mac Zip Files

Participant ,
Dec 24, 2009 Dec 24, 2009

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

608
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 24, 2009 Dec 24, 2009

I cannot help you with MAC/Unix issues. But can you post the error message so someone else can?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 24, 2009 Dec 24, 2009

The form field "file" did not contain a file.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 24, 2009 Dec 24, 2009

Since "File" is a reserved word I would first try using a different name for the form field.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 24, 2009 Dec 24, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 24, 2009 Dec 24, 2009

Sorry, I cannot be of more help. Hopefully someone running MAC/Unix will chime in.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Dec 24, 2009 Dec 24, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources