I have been having an issue that when uploadin files over 9 K I get an
error.
I opened up files.cfm and did the following:
<cfscript>
stProperties.filename =
oForm.sanitiseFileName(file.ServerFile,file.ClientFileName,file.ServerDirect
ory);
stProperties.filepath = file.ServerDirectory;
----> COMMENTED OUT //stProperties.fileSize = file.fileSize; //MJS:
removed. Anything over 9k was bombing
stProperties.fileType = file.contentType;
stProperties.fileSubType = file.contentSubType;
stProperties.fileExt = file.serverFileExt;
</cfscript>
and now it is fine. This is pretty much a hack, should the data type in the
db be updated?
--
Regards,
Michael J. Sammut
________________________________________________
F O U R E Y E S P R O D U C T I O N S
think | plan | create :: web site design & development :: NYC
E. [EMAIL PROTECTED] | T: 718.254.9557 ext. 101 | F: 718.254.0399
W. http://www.foureyes.com
---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/