Re: Ajax Uploader - ManualStartUpload="true"

  •  06-14-2011, 12:03 PM

    Re: Ajax Uploader - ManualStartUpload="true"

    Hi mchamo,
     
    Please refer to http://cutesoft.net/forums/thread/65579.aspx , the highlighted code set the destination folder.
     
     void Uploader_FileUploaded(object sender, UploaderEventArgs args)
    {
    //Copys the uploaded file to a new location.
    args.CopyTo("c:\\temp\\"+args.FileName);
    //You can also open the uploaded file's data stream.
    //System.IO.Stream data = args.OpenStream();
    }
    You can write customization code and change "c:\\temp\\"+args.FileName to the actual file name based on your requirement.
     
    Thanks for asking
View Complete Thread