Question
403 Forbidden error while uploading GPX format file
I am trying to implement a simple upload feature in CF 11 but it fails with 403 Forbidden error while uploading GPX format file.
But when I try uploading other format files like .csv, .txt, .jpg the same code works as expected.
Please help and let me know if I am missing something.
Code to upload:
<form method="post" id="fileinfo" name="fileinfo" action="Upload.cfm" enctype="multipart/form-data">
<label>Select a file:</label><br>
<input type="FileUpload" name="upload" required />
<input type="submit" value="Upload" />
</form>
Upload.cfm
<cfoutput>
<cffile action="upload" destination="C:\gpx\" nameConflict="overwrite" filefield="Form.FileUpload">
</cfoutput>
