Re: How to Call FTP from batch?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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)

"niladri chatterjee" <niladrichatterjee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4C533C93-16DD-43E3-95A1-D630C6BEC147@xxxxxxxxxxxxxxxx
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?




.



Relevant Pages

  • Re: FTP Error 426
    ... This command tells the server to abort the previous FTP ... Out-of-band data may be used for whatever purpose an application may have for it. ...
    (bit.listserv.ibm-main)
  • Re: MPE FTP transfer into HFS namespace
    ... need to recall some of our backups to the MPE server. ... I assume that one could mget from MPE in the same ... MPE FTP transfer into HFS namespace ...
    (comp.sys.hp.mpe)
  • Re: Some questions
    ... > using my ftp software behind my router. ... > issued to server by the client. ... When PORT is used: ... > Can you give me a command line used in a browser to explain me what is the ...
    (comp.security.firewalls)
  • Re: FTP in ASP.NET C#
    ... It has native .NET classes that will allow you to use the FTP protocol. ... >I would like to have my application FTP a file to a server after a user ... > ' This script assumes the file to be FTP'ed is in the same directory as ... > ' If there are multiple files to put, we need to use the command ...
    (microsoft.public.dotnet.languages.csharp)
  • [OT] Space remaining on ISPs free webspace
    ... I have 5 MB of free space on my ISPs server as part of my Internet service. ... I'm using Ant to FTP a small directory tree to the server and it's coming ... It has a command line feature and I've tried doing 'df' ... to interrogate space remaining on the server. ...
    (comp.lang.java.programmer)