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

Upload Problems!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2 Answers 82 Views
Upload
This is a migrated thread and some comments may be shown as answers.
venu
Top achievements
Rank 1
venu asked on 16 Jun 2009, 11:11 AM
Hi,

1.     i am uploading a file  while uploading i  want to create a folder in c:\    drive programatically  and upload the file to that folder is that possible in Telerik sample (silverlight)if so how, can you please help me.
 to create a directory i am using code as written below

directory.createdirectory(@"c:\tempfolder");      but it is giving error saying unable to access the method system.io.directory.createdirectory(system.string);

2.   i want to rename the file while uploading i,e if it is abc.jpg i want to rename it to uploadername+currenttime+abc.jpg
i want to know whether it is possible to rename or not if possible how to do it.( in which method)

3.    i want the path of file from where it is uploaded  so that i can display that in the progressbar instead of displaying the image name
just like this(abc.jpg)
i,e  if the file is fetched from c:\images    then i have to display c:\images\abc.jpg in progress bar .


I tried  but i am getting problem in fetching the path of a file as well as creating a new folder and renaming.


Please help me it is urgent.....................................
my email id is avenugopalsjcit@gmail.com
venugopal

2 Answers, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 16 Jun 2009, 05:54 PM
Hello Venu,

Thank you for your interest in the RadUpload control.

About point 1 and 3: You can not implement such functionality in your client code because of security limitations of the Silverlight. Regarding this limitations you should redesign your application.

About point 2: please preview the How to upload a file with a different name article, where you can find an example too.

We hope this information helps you.

Greetings,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
venu
Top achievements
Rank 1
answered on 17 Jun 2009, 07:18 AM
Thanks a lot ......................................IVAN

venugopal

Tags
Upload
Asked by
venu
Top achievements
Rank 1
Answers by
Ivan
Telerik team
venu
Top achievements
Rank 1
Share this question
or