Can I Move files using RadUpload

Thread is closed for posting
6 posts, 0 answers
  1. Sunil Shah
    Sunil Shah avatar
    15 posts
    Member since:
    Aug 2006

    Posted 19 May 2008 Link to this post

    Hi,

    If yes, please point me in the right direction.

    Thanks
    Sunil

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 19 May 2008 Link to this post

    Hi SunilShah,

    In general, this is exactly what RadUpload does - it "moves" the files from your computer to the hosting server. Still, I have a suspicion there's something else on your mind. Could you please elaborate on your needs?

    Thanks,
    Paul
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sunil Shah
    Sunil Shah avatar
    15 posts
    Member since:
    Aug 2006

    Posted 19 May 2008 Link to this post

    Hi Paul,

    ..hmmm.. When I tried this it "copies" the file - leaving the file still in its original file location.  I thought this was the default behaviour ?

    I want a to "move" a file from (say) a folder on My Computer to a folder on the Hosting Computer.

    Thanks
    Sunil
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 20 May 2008 Link to this post

    Hi Sunil Shah,

    It is not possible to move files using RadUpload. Moving files requires deleting files from the client PC is not possible because it would impose security risks.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Mark
    Mark avatar
    20 posts
    Member since:
    Feb 2008

    Posted 19 Jun 2008 Link to this post

    Is the MoveTo property no longer supported?

    Is there an equivalent?

    'MoveTo' is not a member of 'Telerik.Web.UI.UploadedFile'.

    Here was my old code before the upgrade to ASP.NET AJAX

      For Each uFile As UploadedFile In Me.RadUpload1.UploadedFiles
                    uFile.MoveTo(filePath + uFile.GetName)
                   
                Next
  7. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 23 Jun 2008 Link to this post

    Hello Mark,

    We decided to remove the MoveTo() method as it caused some problems in certain cases.
    I will update the Migration article for the next site update.

    Best wishes,
    Veskoni
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017