Can everybody help me!!
I want to create a FTP webbase frontend, list of file will be display at a page, then let user to click on the file to download it.
But I reach a problem, because when the user try download the file, the file must download from the ftp server first, and then redirect to user's browser. Then the problem occur here, because the website will be hosted by hosting company and has storage limitation on it, so if the download temp file accumulate, the disk storage will be full at that time.
I don't know whether php has some function that can read the whole file's contant, then directly output to user's browser?? (Since I know JAVA can do it) So I need not care about to purge the temp file at a particular time, then after each file download from ftp and read the contant, the file can be delete.
Thx