• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Copying A Remote XML File

matty2des

n00b
Joined
Aug 6, 2008
Messages
6
Hi,
What i'am trying to do is grab a remote xml file every few minutes and copy it to
a local drive (Example: Go to http://IPAddress/filename.xml and copy it a local file called filename.xml)

I've done it using simple PHP

<?php

echo copy("http://IPAddress/filename.xml","filename.xml")

?>

The issue is when it is iniated with the PHP command line the svchost runs (i get the the ms-dos prompt and it looks messy. The same goes for bat files.

Does anyone know how to do this with vb or another lanuage (or product) that can be ran in the background

thanks
matt
 
I tried to run it on Server 2003 and for some reason it wouldn't run. Any more suggestions?


Thanks
Matt
 
It works great on Server 2003!

I don't have any other suggestions (well, you could write your own app I suppose? .NET webrequest client or a Python/Perl script maybe?)

But I'd be more than happy to help you figure out what's going on!

Start by posting the error you receive. (make sure you're running it from the command line, not double clicking wget.exe)
 
Back
Top