File upload problem
Hi all,
I have a simple page with a one form and one file field, applied the upload files behavior with the default settings, but the upload folder field always will be "/" (in the parameters array is: 'UploadFolder' => "",). Is it releated to the site root or the current file? What is the default file field for? I also inserted a debug info dynamic text to see what is the problem, this is the result after the submit:
Status object: WA_UploadResult1
statusCode : 0
errorMessage : No file uploaded
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileWasOverwritten :
fileWasSkipped :
fileWasRenamed :
fileSize : -1
isImage :
imageWidth : -1
imageHeight : -1
WA_UploadResult1_1:
clientFileName :
fileExtension :
serverFileName :
serverSimpleFileName :
serverDirectory :
contentType :
fileSize : -1
imageWidth : -1
imageHeight : -1
statusCode : 0
errorMessage : No file uploaded
Any ideas?
Thx!
G