File storage demo pulling data from file system instead of databse

  •  12-04-2008, 8:53 AM

    File storage demo pulling data from file system instead of databse

    We have purchased the Ajax uploader and have it implemented except for zipping the files at upload time and I've seen a link on the forum to code for that.
    The only other thing we need to do is provide a page with a list of the files that have been uploaded, but running off one folder in the the file system rather than a database and we have to be able to sort the files. They are being renamed at upload time with a name starting with the customer's order number in the ecommerce site, and we need it to sort in descending order so the most recent ones will be first. I've tried using a list<T> in C# but have been having trouble with the sorting. I would really like to use a page like in your file storage demo.
    Do you have any kind of sample code for it to use the file system instead of a database?
     
    Thanks
View Complete Thread