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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mimicking the browser

Status
Not open for further replies.

disord3r

Programmer
Apr 12, 2002
189
US
Scenario: A "master file" exists on server A, which is a cumulative file built from the component files on servers X, Y and Z. I'm looking for the easiest way to periodically have the data from each of the component files appended to the master file.

The goal is for this to run unattended. The best way I can see to do this is to have each of the servers X, Y and Z periodically post their contents, via an HTTP POST type of thing te same way a browser would, to an ASP script that resides on server A. The sole purpose of that ASP script would be to append the contents of the posted data to the "master file".

If there's a better way to do this, PLEASE tell me. :) DFS, Site Server and FTP aren't available to assist. So my fallback was scheduled tasks that kick off VBScripts on X/Y/Z to post their data in the same way a web browser would. My problem is the actual coding; I've seen scripts that make http connections to GET, but not to post.

Any links, tips, or complete scripts (hehe) would be appreciated!
 
I suppose I could do it through a GET, now that I think about it. The only reason I'm trying to post is because occasionally there may be a LOT of data to be posted. Is there a limit to how much data you can stick on the URL after the question mark in a GET?
 
After much searching, it doesn't appear that vbscript even has the ability to open socket connections. Is this correct?
 
Aha! I was correct... it doesn't. :)

But W3Sockets gave me all the functionality I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top