Re: If file exist in FTP location download, otherwise quit



On Mon, 15 Aug 2005 08:43:26 -0700, "Steve Barak"
<SteveBarak@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>I was thinking about that, but that would be more setup, I may have to do
>this on many workstations.

It doesn't have to be another directory. The file could be copied to
the same place with a slightly different name. The FTP script would
have a line similar too:

ftp get ftp://server/path/File.txt c:\path\f\File.tmp

After the FTP script runs, then the next line in the script could
copy, or move, File.tmp to File.txt if the size of File.tmp is greater
than zero bytes.

I don't think the built-in FTP has any kind of conditional operators.

Thanks
Clay Calvert
CCalvert@xxxxxxxxxxx
Replace "W" with "L"
.



Relevant Pages

  • Re: How to tell if FTP file transferred correctly
    ... > I'm using an FTP script to transfer several files via a slow ISDN connection ... > I've setup a .netrc file as: ...
    (comp.unix.sco.misc)
  • Re: Get the most recent file in a remote server using FTP script
    ... the info, then do your head/tail, ... , Like a 2 pass setup, a) get list, b) read list, c) do more work. ... cents. ... I guess you could play with the echo command in your ftp script to see ...
    (comp.unix.shell)
  • How to tell if FTP file transferred correctly
    ... I'm using an FTP script to transfer several files via a slow ISDN connection ... from one SCO OSR5.0.5 to another OSR5.0.5. ... I've setup a .netrc file as: ...
    (comp.unix.sco.misc)
  • SBS2K upgrade to SBS2K3
    ... upgrade, Do I need to run the http://Servername/ConnectComputer setup on all ... It seems that is only used for workstations that ... Prev by Date: ...
    (microsoft.public.windows.server.sbs)

Quantcast