sfilipowicz
Programmer
Hi Everyone,
On my website I have a form so that users can upload files. This works with about 99% of the users, unfortunetly some users experience problems when uploading, they get a IE error 'Page cannout be found' or somthing like that. This happens with several browsers and operting systems, so I have no clue where to start searching. The website is hosted at a hosting provider, if I place the upload form and page on my own CF server the users that has the problem at the hosting provider does not have the problem when on my server.
So to me it says that it's something on the server side but I just do not know what, because most people do not have this problem.
Any ideas?
CF Version on my own server : 7,0,2,142559
CF Version on my hostingprovider : CF MX 7 (that's all I know, is there some code I can run to get the exact version?)
Thanks for any help!
Regards,
Steven
CODE :
{UPLOAD FORM}
<html>
<body>
<form name="upload" action="upload_action.cfm" enctype="multipart/form-data" method="post">
<input type="File" name="uploadfile" style="width:220px;" class="button_1">
<input type="Submit" name="upload" value="Upload" class="button_1">
</form>
</body>
</html>
{UPLOAD PAGE}
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<cfset upload_images = "E:\Inetpub\
<cfset UniqueFileName = CreateUUID()>
<cffile action="upload" destination="#upload_images#" filefield="uploadfile" nameconflict="MakeUnique" >
<cffile action="rename" source="#upload_images##CFFile.ServerFile#" destination="#upload_images##UniqueFileName#.jpg">
File uploaded succesfully
<p>
<img src="<cfoutput>#UniqueFileName#.jpg</cfoutput>">
</body>
</html>
On my website I have a form so that users can upload files. This works with about 99% of the users, unfortunetly some users experience problems when uploading, they get a IE error 'Page cannout be found' or somthing like that. This happens with several browsers and operting systems, so I have no clue where to start searching. The website is hosted at a hosting provider, if I place the upload form and page on my own CF server the users that has the problem at the hosting provider does not have the problem when on my server.
So to me it says that it's something on the server side but I just do not know what, because most people do not have this problem.
Any ideas?
CF Version on my own server : 7,0,2,142559
CF Version on my hostingprovider : CF MX 7 (that's all I know, is there some code I can run to get the exact version?)
Thanks for any help!
Regards,
Steven
CODE :
{UPLOAD FORM}
<html>
<body>
<form name="upload" action="upload_action.cfm" enctype="multipart/form-data" method="post">
<input type="File" name="uploadfile" style="width:220px;" class="button_1">
<input type="Submit" name="upload" value="Upload" class="button_1">
</form>
</body>
</html>
{UPLOAD PAGE}
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<cfset upload_images = "E:\Inetpub\
<cfset UniqueFileName = CreateUUID()>
<cffile action="upload" destination="#upload_images#" filefield="uploadfile" nameconflict="MakeUnique" >
<cffile action="rename" source="#upload_images##CFFile.ServerFile#" destination="#upload_images##UniqueFileName#.jpg">
File uploaded succesfully
<p>
<img src="<cfoutput>#UniqueFileName#.jpg</cfoutput>">
</body>
</html>