|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
RE: Gentran FTP script for GXS - GEIS

Below is Receive and a Send FTP Script for GXS/GEIS.
-------------------------------------------------
//GEIS FTP
// receive procedure
if DoRcv then
begin
FtpChangeDir("/receive");
FtpRcvMsgAll();
end
FtpChangeDir("/receive");
FtpDoCmd("QUIT");
SetStatus(SUCCESS);
------------------------------------------------
//GEIS FTP
// send procedure
// define run-time variables
integer MsgId;
integer AtmId;
string[128] FileName;
FtpSetMode(ASCII);
if DoSnd then
begin
MbxStartMsgLoop();
while ( MbxGetNextMsg(MsgId) != 0 ) do
begin
MbxStartAtmLoop(MsgId);
while ( MbxGetNextAtm(AtmId) != 0 ) do
begin
FtpChangeDir("/send");
MbxGetAtmFileName(MsgId, AtmId, FileName);
FtpSndAtm(MsgId, AtmId, FileName);
SndOK(MsgId, AtmId);
end
SndOK(MsgId);
end
end
FtpDoCmd("QUIT");
SetStatus(SUCCESS);
Regards,
Brad
Brad Joyce
Systems Engineer
EMJ Electronic Commerce
Voice: (714) 577-3747
Fax: (714) 792-3561
Email:
-----Original Message-----
From: afsheen_752002 [mailto:
Sent: Monday, November 17, 2003 3:48 AM
To:
Subject: [EDI-L] Gentran FTP script for GXS - GEIS
Hi,
Could someone send me a Gentran NT FTP script to GXS formerly known
as GEIS.
Thanks
To unsubscribe from this group, send an email to:
Please use the following Message Identifiers as your subject prefix:
<SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at: http://groups.yahoo.com/group/EDI-L
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|