On Monday, October 20, 2003, at 11:23 AM, Michael Hodgdon wrote:
> I was hoping I could get some help on the list. Sort of at a loss for
> this
> one. I am aware there are know issues with the MAC and IE doing for
> uploads. I have two upload boxes on a page. The first is required
> and the
> second is optional. If a user selects both upload options, my code
> runs
> through fine. However, because of the temp file issue with MACS, if
> the
> user does not select a file for the second option, code errors out
> because
> it tries an upload.
>
> Has anybody had this issue before? Do you know a way around it?
I always do this for each file being uploaded:
<cfset uploadFailed = false/>
<cftry>
<cffile...>
<cfcatch>
<cfset uploadFailed = true/>
</cfcatch>
</cftry>
Basically, instead of erroring out it will set an "uploadFailed"
boolean, which I then can use to programmatically deal with scenarios.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- problem with file uploads on a MAC Michael Hodgdon
- RE: problem with file uploads on a MAC Mike Townend
- RE: problem with file uploads on a MAC Gyrus
- RE: problem with file uploads on a MAC Michael Hodgdon
- RE: problem with file uploads on a MAC Sean Daniels
- RE: problem with file uploads on a MAC d.a.collie
- RE: problem with file uploads on a MAC Michael Hodgdon
- RE: problem with file uploads on a MAC Tangorre, Michael