GetFilePath fails

3 posts, 0 answers
  1. mihai.mihaila@gmail.com
    mihai.mihaila@gmail.com avatar
    2 posts
    Member since:
    Jul 2007

    Posted 29 Mar 2011 Link to this post

    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. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 01 Apr 2011 Link to this post

    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
  3. DevCraft banner
  4. mihai.mihaila@gmail.com
    mihai.mihaila@gmail.com avatar
    2 posts
    Member since:
    Jul 2007

    Posted 01 Apr 2011 Link to this post

    I already solved the problem, it was indeed related tot the filename.

    Thank you for your answer,
    Mihai
Back to Top