Hi all,
On one of our sites I have a problem with file uploads.
To be exact, uploading images. (Don't think it matters in this case).
When you select a file in a filebox and submit it, the CF page behind it doesn't recognize any of the variables it should have received.
So, when i use a filebox like this one:
<form name="somename" method="post" action="uploads.cfm" ENCTYPE="multipart/form-data">
<input type="file" name="visual">
</form>
and submit it, I get the following error:
Error resolving parameter FORM.VISUAL
(even when I just display the variable, without actually uploading anything)
Apparently, all the variables and thus all their values aren't posted to the next page. But if I remove the ENCTYPE, meaning that I send content as plain ASCII, all values arive, but ofcourse, I can't upload anymore.
But the strange thing is, this problem definitely isn't there because of the code, because it's a site that has been running just fine for over a year now.
When I call our Hosting partner, they tell me its likely that the fault lies with the client software (browser) sending bad binary data, because occasionally it seems to work anyhow.
Has anyone had any experience with this? Could it be that it's a firewall setting denying access to binary data?
Or maybe it only allows it from trusted sources?
Thanx in advance for any input!
Kristof
On one of our sites I have a problem with file uploads.
To be exact, uploading images. (Don't think it matters in this case).
When you select a file in a filebox and submit it, the CF page behind it doesn't recognize any of the variables it should have received.
So, when i use a filebox like this one:
<form name="somename" method="post" action="uploads.cfm" ENCTYPE="multipart/form-data">
<input type="file" name="visual">
</form>
and submit it, I get the following error:
Error resolving parameter FORM.VISUAL
(even when I just display the variable, without actually uploading anything)
Apparently, all the variables and thus all their values aren't posted to the next page. But if I remove the ENCTYPE, meaning that I send content as plain ASCII, all values arive, but ofcourse, I can't upload anymore.
But the strange thing is, this problem definitely isn't there because of the code, because it's a site that has been running just fine for over a year now.
When I call our Hosting partner, they tell me its likely that the fault lies with the client software (browser) sending bad binary data, because occasionally it seems to work anyhow.
Has anyone had any experience with this? Could it be that it's a firewall setting denying access to binary data?
Or maybe it only allows it from trusted sources?
Thanx in advance for any input!
Kristof