Steve
Mon Dec 06 20:26:28 CST 2004
I didn't see if you require the use of FTP, but if not and both are windows
workstations that you can access and the folder is shared somehow, why can
you just do the following:
@ECHO OFF
set source=\\server1\share
set target=C:\mytargetfolder
copy %source%\*.xml %target%
--
Steve Seguis - MCSE, MS-MVP, SCJP
SCRIPTMATION
Automating the Enterprise
http://www.scriptmation.com
"Foss" <Foss@discussions.microsoft.com> wrote in message
news:38625AEE-8E4F-4FC8-9E96-60CA4B1776C5@microsoft.com...
> Hi there,
>
> I'm not sure, I've never tried.
>
> Have you got an example I could test?
>
> Cheers,
> Pete
>
>
>
> "McKirahan" wrote:
>
>> "Foss" <Foss@discussions.microsoft.com> wrote in message
>> news:692B333D-90FC-4B64-B57A-73A36E3EE888@microsoft.com...
>> > Mornin' all,
>> >
>> > I need to copy all the .xml files in a source folder on a server to a
>> target
>> > folder on a client machine. The script will be run from the client
>> machine.
>> >
>> > I can't figure out how to do this at all, I can only do it by
>> > specifying
>> the
>> > exact filename. If anyone can offer any help on this, I'd be very
>> grateful.
>> >
>> > Cheers,
>> > Foss
>>
>> Is the use of command line FTP an option?
>>
>> You can generate a list of files in the folder then get them.
>>
>>
>>