Re: If file exist in FTP location download, otherwise quit
- From: Clay Calvert <ccalvert@xxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 21:10:58 -0400
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"
.
- References:
- If file exist in FTP location download, otherwise quit
- From: Steve Barak
- Re: If file exist in FTP location download, otherwise quit
- From: Clay Calvert
- Re: If file exist in FTP location download, otherwise quit
- From: Steve Barak
- If file exist in FTP location download, otherwise quit
- Prev by Date: Re: If file exist in FTP location download, otherwise quit
- Next by Date: Disable and enable network adapters
- Previous by thread: Re: If file exist in FTP location download, otherwise quit
- Next by thread: Disable and enable network adapters
- Index(es):
Relevant Pages
|