Did you even bother to read what I said? SQL (along with PHP, if needed in your web-page) is used to communicate with databases and read/write data. SQL isn't FTP, not in Pawn at least. So, you have to sort the content in your desired files and upload it to your database. But if you again insist, then you have to use a 3rd-party
module.