Hello!
This is great tools! I'm very impressed and happy!
Though I have a problem.
When i'm uploading a file:
Code: C#
string finalFileName = Path.Combine("Graphics/Cards", file.ClientFileName);
I get the error message:
Could not find a part of the path.
But if i type "c:/" as the first Combine Path it's working. But I want save the files in that specific folder "Graphics/Cards".
I have the authority for the Graphics-folder, so there's no problem.
What should I do?
Solution:
I added Server.MapPath("~/Graphics/Cards")
But now i want to change name on the file i'm about to upload. I want the file to have the name Guid.NewGuid() how to?