Hello Community,
I am using the asyncUpload Control to upload a single file.
After the user selects their file I want to get the filename to show them their choice. Now the File is uploaded to the Temporary Folder and the File is renamed.
At the moment I can only get the FileName after the file is uploaded to the TargetFolder, but actually I need the Temporary FileName.
Is there any way to do that?
This is my function:
Thanks for reading
I am using the asyncUpload Control to upload a single file.
After the user selects their file I want to get the filename to show them their choice. Now the File is uploaded to the Temporary Folder and the File is renamed.
At the moment I can only get the FileName after the file is uploaded to the TargetFolder, but actually I need the Temporary FileName.
Is there any way to do that?
This is my function:
function OnClientFileSelected(sender, args) { var currentFileName = args.get_fileName(); var fullPath = "C:/TempUpload/" + currentFileName; $("#LogoAuswahlPre").attr("href", fullPath); $('#LogoAuswahlPre').attr('data-lightbox', 'LogoAuswahl');}Thanks for reading