Re: Can UploadAttachments show Russian FileName not in UTF-8?

  •  04-30-2010, 8:13 AM

    Re: Can UploadAttachments show Russian FileName not in UTF-8?

     

    Please use the .CopyTo or .MoveTo method and rename the uploaded files.
     
    For example:   //args.CopyTo("c:\\temp\\yourownname"); or  
                              //args.MoveTo("c:\\temp\\yourownname");

     void Uploader_FileUploaded(object sender, UploaderEventArgs args)
            {
                Uploader uploader = (Uploader)sender;
                InsertMsg("File uploaded! " + args.FileName + ", " + args.FileSize + " bytes.");
                
                //Copies the uploaded file to a new location.
                //args.CopyTo("c:\\temp\\"+args.FileName);
                //args.MoveTo("c:\\temp\\"+args.FileName);

                //You can also open the uploaded file's data stream.
                //System.IO.Stream data = args.OpenStream();
            }
     
     
    Regards,
    Eric
View Complete Thread