This is a migrated thread and some comments may be shown as answers.

Can I Move files using RadUpload

5 Answers 69 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Sunil Shah
Top achievements
Rank 1
Sunil Shah asked on 19 May 2008, 09:33 AM
Hi,

If yes, please point me in the right direction.

Thanks
Sunil

5 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 19 May 2008, 11:46 AM
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
0
Sunil Shah
Top achievements
Rank 1
answered on 19 May 2008, 11:54 AM
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
0
Atanas Korchev
Telerik team
answered on 20 May 2008, 08:14 AM
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
0
Mark
Top achievements
Rank 1
answered on 19 Jun 2008, 06:27 PM
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
0
Veselin Vasilev
Telerik team
answered on 23 Jun 2008, 01:55 PM
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
Tags
Upload (Obsolete)
Asked by
Sunil Shah
Top achievements
Rank 1
Answers by
Paul
Telerik team
Sunil Shah
Top achievements
Rank 1
Atanas Korchev
Telerik team
Mark
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or