I am trying to create a copy of a file which is located on a remote server to my server through some php code using curl....The problem is, the file resides at a url similar to this http://www.xyz.com/file.aspx...So when this url is used/clicked, it prompts for a download of the .txt file which is exactly the file i am trying to create a copy of....The url explicitly doesnt give out the filename... It only prompts for the .txt file when clicked...So is there a way to find out the file this url is pointing to through some php code?..Thanks in advance...
-Pcup