> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin
> Sent: Friday, October 20, 2006 2:35 PM
> To: [email protected]
> Subject: Re: Multiple FTP Problems
> 
> 
> In a recent note, McKown, John said:
> 

<snip>

> > 
> What about:
> 
>   put mainframe.file temp.output.file
>   put empty.file output.file
>   del output.file
>   rename temp.output.file output.file
> 
> Not perfect, but it reduces the timing window to the duration
> of transferring an empty file, and the Windoze side can be
> instructed to try again if:

Interesting. That may be acceptable to the people who will make the
decision. Thanks. And the Windows people might even be convinced to
check for and ignore a file with 0 bytes. 

> 
> o output.file doesn't exist (i.e. between the del and the rename).
> 
> o output.file is empty (i.e. between the put and the del).
> 
> I know, it doesn't solve your problem, but UNIX is glorious.
> To a UNIX server, I routinely do simply:
> 
>   put mainframe.file temp.output.file
>   rename temp.output.file output.file
> 
> Works every time; by specification the UNIX recipient can't detect
> either a missing or an incomplete "output.file" (but I have gotten
> complaints when they happen to detect the "temp.output.file").
> 
> Friends don't let friends do Windows.

I guess that I don't have many friends. Certainly not on "the other side
of the house". 

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited. 
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to