DataJuggler / BlazorFileUpload

This was originally a wrapper of Steve Sanderson's BlazorFileInput. It has since been upgraded to a wrapper of ASP.NET CORE FileInput
32 stars 11 forks source link

File name on disk does not change #1

Closed tespheakdeyesoftix closed 4 years ago

tespheakdeyesoftix commented 4 years ago

Hi, I try to use this to upload file in my blazor project server side and every thing work good except file name store on disk does not change. I already set this property AppendPartialGuid = "true" but still not work. Any advise suggestion?

Thanks

DataJuggler commented 4 years ago

I added a couple of features since I added AppendPartialGuid and it seems the AppendPartialGuid doesn't work, but the file still saved without the Guid being appended.

Dot Net Core 3.1 comes out this week so I am planning a new update already. Did you try running the FileUpload Sample in this project? I just tested and it works, although the Guid is missing. I will work on this issue when I get off work, or you are welcome to try and solve it. I probably did something stupid like forgot to set the return value = sb.ToString(); after building a String Builder.

Sorry

DataJuggler commented 4 years ago

I wasn't ready to start working yet. I fixed the issue. I wasn't setting NameWithPartialGuid correctly.

I am updating the Nuget package also, so in a few minutes it should work.

Thank you for testing and finding this.

Let me know if this works and I will close this issue after you get the latest code.

Corby

tespheakdeyesoftix commented 4 years ago

Thank for your information.
I will update in my project and let you know asap.

Thank you very much Pheakdey

tespheakdeyesoftix commented 4 years ago

Hi Corby,

yes, it works now. Thank you very much.

Pheakdey

DataJuggler commented 4 years ago

Thanks for letting me know about the issue.