component{
variables.uploadFolderPath = ExpandPath( "uploads/" ); //set your destination here
remote struct function process() returnFormat="json" {
var uploadResult = FileUpload( uploadFolderPath, "qqfile", "image/jpeg,image/x-png", "makeunique" );
header name="content-type" value="text/plain";
return { success: true };
}
}
Just set your fineuploader endpoint to 'uploader.cfc?method=process'
The uploadResult variable will be a struct allowing you to work with the uploaded file.
Julian.