Buck3tt
Fetching XML files from Azure Storage Explorer sometime fails
So for work we have a Azure Storage Explorer Fileshare where the customer sends XML files. Our Job fetches files from this fileshare every ~20 minutes maybe. Some files works fine and some just straight up fails with this code
And xmlDocument just says
The weird part is, when I locally debug it, fetch the correct file and run the same code, it doesn't fail.
How could this be?
They are named "123-1345.xml" or similar in the share and looks fine in notepad ++ or whatever program.
Could there be some sort of "buffer" time that the file hasn't fully transformed in to a xml file yet or similar?
Any help is appriciated
6 replies
❔ Somewhat advanced check for ids in foreach, remove duplicated
Hi!
Right now im doing somewhat of a "complex" (at least for me to understand) check of id's to remove, and wanna ask if i can do this code example simpler, or shorter, cuz it feels like i could, but cant think of how
Since i tried to combine
Doesnt give the same result
Thanks in advance
22 replies