Page 1 of 1

How to Transfer file from one machine to another

Posted: Fri Aug 07, 2009 1:17 pm
by ConvertFromOldNGs
by Didier >> Tue, 25 Mar 2008 4:19:53 GMT

Hi
To Integrate wiht other system,
we use EDI.

Need to transfer Files from one machine to another machine.

How to implement ?

Appreciate for any help .

Didier
2008.3.25

Re: How to Transfer file from one machine to another

Posted: Fri Aug 07, 2009 1:17 pm
by ConvertFromOldNGs
by cnwjhp1 >> Tue, 25 Mar 2008 6:14:52 GMT

You can run a JADE client on the other machine, connecting via tcp to the database server machine. This can be through a firewall if required. Then copy the files using either:

1. Thin client and usePresentationFileSystem, or
2. Standard client and serverExecution.

So you have two File objects; readBinary(10000) on the one and writeBinary(10000) and the other, eg

while not aFile.endOfFile do
bFile.writeBinary(aFile.readBinary(chunkSize));
endwhile;