Quoted text is from <[EMAIL PROTECTED]>, by Sriram
Sundarababu <[EMAIL PROTECTED]>

>I am running Gentran for NT on a NT box and my application is on an UNIX
>box. I am having trouble moving files automatically from NT to Unix and
>Unix to NT. I have successfully implemented a time based solution, but
>my situation is changing to more frequent and automated way of
>transfering files.
>
>Is there any software which handles these kinds of file moves
>automatically as and when files are available ?

Unless either your application or Gentran can trigger an external data
push/pull procedure you are stuck with a polling approach, which I
presume corresponds to your 'time based solution'.

For the actual data transfer between NT & UNIX, unless you already have
NFS implemented (Samba is a form of NFS), the FTP approach with the Unix
machine acting as a server is the simplest to set up, and works well in
practice. You need to give some thought to collision avoidance (an
asynchronous polling routine runs the risk of trying to access files at
the same time as they are being created by the application / EDI
system). If the application /EDI system support semaphore files then
these can be used. If not you will probably have to perform an initial
rename to a buffer directory (this will fail if the file(s) are in use
by another process) and then FTP from the buffer directory.

Regards
Chris

--
Chris Johnson  +44 (0)20 8 501 1490 (home)
EDIMatrix Ltd  +44 (0)20 8 559 2454 (work)
               +44 (0)20 8 559 2497 (fax)
http://www.edimatrix.demon.co.uk

=======================================================================
To signoff the EDI-L list,  mailto:[EMAIL PROTECTED]
To subscribe,               mailto:[EMAIL PROTECTED]
To contact the list owner:  mailto:[EMAIL PROTECTED]
Archives at http://www.mail-archive.com/edi-l%40listserv.ucop.edu/

Reply via email to