|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to Call FTP from batch?How do I supply the User name / passord from a batch file
I did the following:- cd c:\file_copy ftp connect 172.xx.y.zz <actual username> <actual pwd> mGET *.PACKSLIP.DOC;* copy /y C:\file_copy\*.* R:\PDFS\PACKING_SLIP bye Also, mGET from the DOS, prompts for 'Y' to enter for each file to copy. How to supress confirmation like /y in Copy command? Hi
It is not clear what you have installed as ftp. FTP is not a command, it is either a client application or a server application, and the Logon depends on each specific application. Jack (MS, MVP-Networking) Show quoteHide quote "niladri chatterjee" <niladrichatter***@discussions.microsoft.com> wrote in message news:4C533C93-16DD-43E3-95A1-D630C6BEC147@microsoft.com... > How do I supply the User name / passord from a batch file > > I did the following:- > > cd c:\file_copy > ftp > connect 172.xx.y.zz > <actual username> > <actual pwd> > mGET *.PACKSLIP.DOC;* > copy /y C:\file_copy\*.* R:\PDFS\PACKING_SLIP > bye > > > Also, mGET from the DOS, prompts for 'Y' to enter for each file to copy. > How > to supress confirmation like /y in Copy command? > > > On Thu, 7 May 2009 10:03:10 -0700, niladri chatterjee
<niladrichatter***@discussions.microsoft.com> wrote: Show quoteHide quote >How do I supply the User name / passord from a batch file Perhaps you should be looking at a command line utility like wget> >I did the following:- > >cd c:\file_copy >ftp >connect 172.xx.y.zz ><actual username> ><actual pwd> >mGET *.PACKSLIP.DOC;* >copy /y C:\file_copy\*.* R:\PDFS\PACKING_SLIP >bye > > >Also, mGET from the DOS, prompts for 'Y' to enter for each file to copy. How >to supress confirmation like /y in Copy command? > > http://www.gnu.org/software/wget/ Jim. niladri chatterjee wrote:
Show quoteHide quote > How do I supply the User name / passord from a batch file For scripting, you can't do better then use webdrive, mounts your ftp > > I did the following:- > > cd c:\file_copy > ftp > connect 172.xx.y.zz > <actual username> > <actual pwd> > mGET *.PACKSLIP.DOC;* > copy /y C:\file_copy\*.* R:\PDFS\PACKING_SLIP > bye > > > Also, mGET from the DOS, prompts for 'Y' to enter for each file to copy. How > to supress confirmation like /y in Copy command? > > > server as a network drive, instantly enabling any file-aware program. www.webdrive.com Phil, London
Duplicate (?) Name Error
Vista ultimate /XPHome SP3 network Re: Company portal issues Remote Desktop Web Connection through a Proxy Server Windows XP could not repair my connection access denied to shared folder Connection to Network Drops After 10 Mins network plug is unplug Delay when accessing files on a network drive How to chanage directory to mapped network drive? |
|||||||||||||||||||||||