Does anyone know of a microsoft command-line tool, either native to W2K or
W2K03 or apart of a resource kit which will enable scripting an FTP command
and synchronizing files between a local and remote location?? I would need
it to:

1. build FTP session.
2. do a file update similar to what can be done with robocopy.exe
3. tear down session.

I know there are numerous third party tools out there that will do it, but
I'd prefer to stick w/ MS command line tools

Re: FTP script and synchronize question??? by Chris

Chris
Fri Aug 26 19:02:55 CDT 2005

Not sure if this uses FTP and it is currenlty in Beta

http://www.microsoft.com/downloads/details.aspx?FamilyID=E0FC1154-C975-4814-9649-CCE41AF06EB7&displaylang=en


--
Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"Matt McComas" <MattMcComas@discussions.microsoft.com> wrote in message
news:0BB66729-2371-4992-8F76-212B3D998A71@microsoft.com...
> Does anyone know of a microsoft command-line tool, either native to W2K or
> W2K03 or apart of a resource kit which will enable scripting an FTP
> command
> and synchronizing files between a local and remote location?? I would
> need
> it to:
>
> 1. build FTP session.
> 2. do a file update similar to what can be done with robocopy.exe
> 3. tear down session.
>
> I know there are numerous third party tools out there that will do it, but
> I'd prefer to stick w/ MS command line tools



Re: FTP script and synchronize question??? by DaveMac

DaveMac
Fri Aug 26 21:26:59 CDT 2005

Can't you just run the built in windows ftp from the command line or a
batch file?

Have a look at windows help for ftp - in particular:

ftp [-v] [-n] [-i] [-d] [-g] [-s:filename] [-a] [-w:windowsize]
[computer]

-s:filename

Specifies a text file containing ftp commands; the commands
automatically run after ftp starts. No spaces are allowed in this
parameter. Use this switch instead of redirection (>).


Re: FTP script and synchronize question??? by Chris

Chris
Sat Aug 27 00:02:08 CDT 2005

Matt wants to synchronize the directory structure so our method with the FTP
client probably won't do that - it is not intelligent.

You could check out RSYNC - it is not Microsoft but is free I beleive.

--
Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz


"DaveMac" <david_macaulay@hotmail.com> wrote in message
news:1125109619.527311.35020@g44g2000cwa.googlegroups.com...
> Can't you just run the built in windows ftp from the command line or a
> batch file?
>
> Have a look at windows help for ftp - in particular:
>
> ftp [-v] [-n] [-i] [-d] [-g] [-s:filename] [-a] [-w:windowsize]
> [computer]
>
> -s:filename
>
> Specifies a text file containing ftp commands; the commands
> automatically run after ftp starts. No spaces are allowed in this
> parameter. Use this switch instead of redirection (>).
>