Several more things done with the DownloadAPI. Further testing revealed that the new method of downloading files only worked for small (less than 1000 rows) files. Both methods now used in conjunction to download files from database. Minor error with database file listing fixed, now scrolls through all of the "pages" of the database.