Re: If file exist in FTP location download, otherwise quit
- From: "Steve Barak" <SteveBarak@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 15 Aug 2005 08:43:26 -0700
I was thinking about that, but that would be more setup, I may have to do
this on many workstations.
"Clay Calvert" wrote:
> On Sun, 14 Aug 2005 12:36:03 -0700, "Steve Barak"
> <SteveBarak@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >I have a script that invokes built in Windows ftp to download a file and
> >delete it after download. My problem is if the file at the ftp location does
> >not exist, ftp for some reason overwrites the local file and blanks it out (0
> >kb). I need a way to make sure that if file is not in ftp location to leave
> >the local file alone. I don't know how to create an If this Then that Else
> >quit with remote files on ftp. Any idea on how i can make it so that if
> >remote file does not exist do NOT overwrite the local file with a blank one?
>
> Though not a direct answer. How about downloading the file to a
> temporary location first, then copy it if it isn't zero bytes?
> Clay Calvert
> CCalvert@xxxxxxxxxxx
> Replace "W" with "L"
>
.
- Follow-Ups:
- Re: If file exist in FTP location download, otherwise quit
- From: Clay Calvert
- Re: If file exist in FTP location download, otherwise quit
- From: JT
- Re: If file exist in FTP location download, otherwise quit
- 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
- If file exist in FTP location download, otherwise quit
- Prev by Date: Re: help with drag-and-drop "problem"
- Next by Date: Re: If file exist in FTP location download, otherwise quit
- Previous by thread: Re: If file exist in FTP location download, otherwise quit
- Next by thread: Re: If file exist in FTP location download, otherwise quit
- Index(es):
Relevant Pages
|