MoveTo throws an exception

  •  05-24-2013, 4:57 AM

    MoveTo throws an exception

    Hello,

     

    When I try to save an uploaded file using the MoveTo method, I get the following IOException:

     

    "Cannot create a file when that file already exists."

     

    The folder I am trying to save the file to is empty! I tried passing both absolute and relative paths to the method, but to no avail. What is the problem?

     

    Thanks. 

View Complete Thread