I have a file, call it main.dat. Inside it has lines like include file-a.dat, include file-b.dat and I have logic that handles these inputs. I would like to be able to upload main.dat via asp.net (C#) web forms project, and have IT access file-a.dat which should be in the same folder. If I use something like silverlight-multifile-uploader, then it takes all of them (in alphabetical order) and reads them in one by one, in which I cannot control the order, which I want to be in the same order as the includes are in main.dat.
- Is there a way to solve this problem directly, i.e., just upload
main.datand have my code access the specified files? (I know this is a long shot since this could cause SO many security issues) and if not, - Is there a way I can use the silverlight-multifile-uploader (maybe via javascript) so that I can specify the order given the input files? Like if
file-b.datneeds something infile-d.datandfile-d.datwas in fact included, then make that one the first one read? - Any alternate (better) solutions than the two I've thought of?