Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFILE - Mac Stuffit Files

Status
Not open for further replies.

lucky7crazy8

Programmer
Aug 24, 2000
1
US
I've encountered a problem using CFFILE with MAC Stuffit archive files on MAC IE 5.0. Somehow during the file upload/download process, a cr/lc is appended to the end of the stuffit file, causing file corruption.

I haven't been able to determine if this is a ColdFusion CFFILE problem or the MAC IE 5.0 browser performing the appendage.

Has anyone else experienced this or have any solutions that I can try?

Thanks.
 
I know there was a problem with <cffile> in earlier releases where it would add control characters when it shouldn't. If you read in a file with <cffile> and then wrote it back out, you would find additional new line characters in the file. I believe they added an attribute called &quot;addNewLine&quot; that would prevent this when set to &quot;no&quot;. I just checked and it doesn't appear that with the action set to &quot;upload&quot; that the addNewLine attribute is used. You might try it just to see if it has an effect but the docs seem to indicate it will be ignored.

I assume that you don't have a way to test a different browser at the moment. If so, that would be the next best step.

GJ

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top