Get Filename example

Jun 2, 2008 at 7:56 PM
I'm feeling so silly and feel like I haven't been writing code for 15 years.   I'm a seasoned developer yet I still can't figure out how to get the file name out of the FileReceived event.   Can someone post a super easy example that shows an example on how to do this?
Coordinator
Jun 3, 2008 at 3:28 AM

<fjx:FileUploader OnFileReceived="FileUploader_FileReceived" runat="server">
    <Adapters>
        <fjx:FileSaverAdapter Runat="server" FolderName="UploadFolder" />
    </Adapters>
</fjx:FileUploader>

protected void FileUploader_FileReceived(Object sender, FileReceivedEventArgs e){
    string fileName = e.File.FileName;
}