Re: Batch file by OfficeGuyGoesWild
OfficeGuyGoesWild
Tue Nov 07 18:41:56 CST 2006
also put this in the scr file, before the mput command, to supress a
confirmation for each file copy:
prompt
..Marty
www.TheScriptLibrary.com
dNagel wrote:
> He's totally correct, but I'm feeling generous...
>
>
> NET STOP SERVICENAME
> XCOPY32 "c:\application folder\*.*" "\\share\map\application folder"
> NET START SERVICENAME
> ftp -n -s:test.scr
>
>
> contents of test.scr
> =======================================================================
> open 11.11.11.11
> [User_id]
> [ftp_password]
> binary
> cd SomeFldr
> mput c:\file.ext
> quit
>
>
> I'll leave the details and up to you
>
> D.
>
>
> aquaflow wrote:
> > would appreciate valuable help in setting up a batch file to perform
> > the following steps on w2003 server.
> >
> > 1.Stop service
> > 2.backup c:\application folder\ to networked drive (share/map)
> > 3.start service
> > 4.ftp file to mainframe host
> >
> > Thanks
> > AQ
> >
> >