Forum Moderators: coopster
However, I'm going to be uploading reports once a day, and I don't want to have to keep manually removing and uploading new xml files. Nor do I really want to have to keep uploading xml files to the server via form and getting the information from there (although I could feasibley do it... I just don't want to be filling the server with files that I won't really have to use again.)
What would be ideal, is if I can have a form where I select my xml file but instead of uploading it to a server and THEN having it get the information, I'd like to bypass the uploading all together and just read the xml file in its entirety into a variable string on submit, then on my submit function it can just read the xml data and insert it into the database and no files will have to be added to the server.
Is this possible/feasible and if so can anyone give me an idea on how to do it? The XML reports aren't very large. I can't imagine a file ever being more than 20KB.
Thanks in advance!
Although pasting the XML into a text box would be a way to go. There is a discussion going on between my Team Lead and I about whether or not it would be beneficial to go ahead an upload the XML files anyway in case something happens to the database or if we should just keep the Excel reports that are sent to us on file.