Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading file via http. Please, help!

Status
Not open for further replies.

alexfrumkin

Programmer
Mar 27, 2000
4
0
0
US
I need to find syntax to do the following. I need to read the file header (size, last modified, etc), and later, the whole file content off the web server to the client.<br>
I have a .pdf file residing on the web server directory. I need to transfer its header to the client, and then, upon examining the header (at the client) to copy the whole .pdf file from the server into client's local directory.<br>
<br>
I somewhat remember the sintax, goes something like : file.getfileheader[url:http/.......]. The file info gets passed via http string to the client (who is requesting the file). <br>
<br>
Am I on the right track? Please, help, I am a new programmer...<br>
<br>
Thank you for your time and effort!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top