Well, you are going to have to find another language to use to do the file
uploads then, a language that streams the request to you as opposed to just
sending it all. Then, you're going to have to do some major research to find
something to use that is going to understand different OS's file types using
that stream.

Bruce Dunwiddie
Ticket Technology
P: 866.543.3331
F: 913.451.7832
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of cfhelp
Sent: Friday, September 12, 2003 9:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [KCFusion] CFFILE on MAC


I have 2 situations.

1 is just a way for a member to upload a picture to there profile. I need to
know if it is a gif or a jpg.

2 is a document/File management and sharing system. I need to know
everything and prevent certain files from being uploaded.


Rick

-----Original Message-----
From: Bruce Dunwiddie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 11:29 AM
To: [EMAIL PROTECTED]
Subject: RE: [KCFusion] CFFILE on MAC

Yes, you would be able to upload any file in that case, but the question
then comes down to, what is it that you're trying to block out and why?
Obviously uploading a .cfm or a .asp to a folder under wwwroot could be a
problem, and conceivably an executable extension like .exe to any folder on
the server could conceivably be a problem, but offhand, unless your server
understands mac or linux file types based off of file headers and knows that
there's an executable file that just doesn't have the extension, I don't see
it as really being a problem. If you still want to push farther and make
sure that before one of your mac artsy types grabs the file from your server
and then just clicks on it over on their mac machine that it's been checked,
the only way would be to either go out and study the mac file headers,
however that works, or to try to find a program someone else has written
that can run in a windows environment or whatever and can report back on
what the headers say.

Bruce Dunwiddie
Ticket Technology
P: 866.543.3331
F: 913.451.7832
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of cfhelp
Sent: Friday, September 12, 2003 9:26 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [KCFusion] CFFILE on MAC


I am specifying allowed MIMI types in the CFFILE tag but do not have a blank
one. The error says that "/" Mimi Type is not allowed so I am thinking that
will solve the problem. But will it create another is the question now?
Wouldn't you be able to upload any file if you remove the ext?

Thanks

Rick

-----Original Message-----
From: Bruce Dunwiddie [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 11:14 AM
To: [EMAIL PROTECTED]
Subject: RE: [KCFusion] CFFILE on MAC

For some odd reason, I don't know that I've run into that problem, and I
don't currently have the resources to play and test with it, but I've got a
few wacky ideas for you to play with. First, are you supplying any values
for the accept attribute for CFFILE? If so, what? If not, have you tried
putting in an additional blank mime type into the accept? Also, on the
server, to view the registered mime types on the machine, you open windows
explorer, go to tools->folder options->file types-> and maybe try playing
around with the registered mime types that it knows? There are some that by
default are listed without a file extension, but it doesn't appear that you
can edit these, and adding a new one you may have to play with. Also, in
IIS, if that's what you're using, you can go to the properties of your web
site, on the HTTP Headers tab, and click on the File Types button at the
bottom, atleast in my version, and maybe try playing around with adding a
blank mime type there? Only wacky ideas which probably won't help much...

Bruce Dunwiddie
Ticket Technology
P: 866.543.3331
F: 913.451.7832
[EMAIL PROTECTED]


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of cfhelp
Sent: Friday, September 12, 2003 8:57 AM
To: [EMAIL PROTECTED]
Subject: [KCFusion] CFFILE on MAC


So what do you guys do about uploading files from a MAC?

It seems that a MAC by default does not use file extension. So the CFFILE
tag errors with the invalid MIME TYPE.

Rick


______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]





______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]



______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]





______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]



______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]



 
 
______________________________________________________________________
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED]
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe.................... mailto:[EMAIL PROTECTED]
To Unsubscribe................ mailto:[EMAIL PROTECTED]
 

Reply via email to