How to Transfer file from one machine to another

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

How to Transfer file from one machine to another

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:17 pm

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

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: How to Transfer file from one machine to another

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:17 pm

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;


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 24 guests

cron