Re: ftp usage in batch command?
From: Mark V (notvalid_at_nul.invalid)
Date: 09/23/04
- Previous message: Bjorn Landemoo: "Re: Recovered File Fragments"
- In reply to: Paul R. Sadowski: "Re: ftp usage in batch command?"
- Next in thread: Mira: "Re: ftp usage in batch command?"
- Reply: Mira: "Re: ftp usage in batch command?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Sep 2004 12:30:08 -0700
In microsoft.public.win2000.cmdprompt.admin Paul R. Sadowski wrote:
> "Mira" <anonymous@discussions.microsoft.com> wrote in message
> news:491901c4a17e$e1e92240$a501280a@phx.gbl...
>> Hello,
>>
>> How to do file transfer from SERVER-A to SERVER-B using a
>> ftp command? This I need to put into a scheduled batch
>> process. Also, what are the advantages of ftp transfer
>> over conventional copy such as "copy D:\*.txt M:\dir1
>> \dir2\*.txt" (Where M is network mapped drive).
>
> If you are talking about the proxy command then Microsoft ftp
> servers don't support that.
>
> If you are talking about running a btach ftp from say serverA to
> another then you do it this way:
> ftp serverB -s:script.txt
> Where script .txt contains the list of commands for the ftp client
> to follow. For example:
> myusername
> mypass
> lcd C:\somedir
> cd /pub/users/somedir
> bin
> prompt
> mput *.jpg
> close
> quit
>
> I don't think there is an advantage of ftp vs. shares, except when
> shares are not allowed.
There might be dis-advantages (or at least more work) to running a
FTP server...
- Previous message: Bjorn Landemoo: "Re: Recovered File Fragments"
- In reply to: Paul R. Sadowski: "Re: ftp usage in batch command?"
- Next in thread: Mira: "Re: ftp usage in batch command?"
- Reply: Mira: "Re: ftp usage in batch command?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|