[thesite] [BUG] Author pic deleting?
.jeff
jeff at members.evolt.org
Mon Jan 14 11:47:08 CST 2002
matt,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: matthew garrett
>
> I've had large problems with CF file uploads from users
> with that browser/OS in the past.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
same here -- constantly.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> My question is, what does the code look like for
> deciding whether to attempt the file upload? I believe
> that IE associates a temp file with the input file tag
> even if you have not specified a file. So if the cffile
> tag tries to upload that file, and there's actually
> nothing really there... then it could delete the
> existing file to replace it with... nothing. is that
> part of it?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
in order to know that something needs to be uploaded, i'm simply checking
the trimmed length of the file upload field's value. if it's greater than 0
i delete the existing pic and upload the new one (or try, it seems).
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I was actually never able to solve it, just thought it
> was worth mentioning.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
i've never been able to solve it either. it's very frustrating.
thanks,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thesite
mailing list