This is a migrated thread and some comments may be shown as answers.
GetFilePath fails
2 Answers 18 Views
This is a migrated thread and some comments may be shown as answers.
mihai.mihaila@gmail.com
Top achievements
Rank 1
mihai.mihaila@gmail.com asked on 29 Mar 2011, 02:11 PM
Recently our RadUploader stopped working.

When calling 
base.GetFilePath(fileName)

the following error is thrown:
The given path's format is not supported

public override string GetFilePath(string fileName)
{    
this.path=base.GetFilePath(fileName);
        return this.path;
}

Can you give me any hints about what might be causing it and how can I fix it?

Thank you in advance,
Mihai

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 01 Apr 2011, 09:00 AM
Hello Mihai,

I am not sure what might be causing this issue but it seems to be related to the fileName string you pass to the GetFilePath() method. Can you please send us a sample project reproducing the issue or a code snippet better illustrating your scenario.

Also, I attached a sample project where the GetFilePath() method is overriden to change the file name of the uploaded files. I hope it helps.

Greetings,
Tina Stancheva
the Telerik team
0
mihai.mihaila@gmail.com
Top achievements
Rank 1
answered on 01 Apr 2011, 09:24 AM
I already solved the problem, it was indeed related tot the filename.

Thank you for your answer,
Mihai
Asked by
mihai.mihaila@gmail.com
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
mihai.mihaila@gmail.com
Top achievements
Rank 1
Share this question
or