CFFILE Upload error "String Index out of range: -18"
Posted on 2006-05-25
I am attempting to use CFFILE to upload an MS Excel file from my PC to a server. Unfortunately, I am getting the "String Index out of range: -18" error. Code is below.
<cffile action="upload" filefield="fileupload" destination="\\server\xxx\yyyy" nameconflict="overwrite">
In the form struct the "fileupload" variable looks as if it is set to this:
I would expect something like C:\foldername\file.xls
Help is greatly appreciated!