I am developing a website(B) which will manage content from and another site (A). The website(A) has many files in it's servers and website(B) knows the links to that files. Also website (B) will process the file before download to the user only by giving a title to the file.
The user will visit website(B), the website(B) will do some title operations to the file from website(A) and it will be deliver to the user.
The problem is that for a file, let's say 100mb
-with PHP, this data must pass through website website(B) in order to give only a title to that file, and i cannot find a methid that does not pass through the server as is server language.
-with JAVASCRIPT, we use client's resources instead of overloading the website(B) server but i cannot find a way to download a file with javascript as xmlhttprequest do not return a result as server may not allow it due sop.
So, I am thinking a way to process the file, Any ideas?