Ansicht
Dokumentation

05619 - ftp from ABAP on OS/400

05619 - ftp from ABAP on OS/400

Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

ftp from ABAP on OS/400

I'm starting to research methods to transfer data via ftp directly from an
ABAP program on the AS/400. Our requirements include being able to ftp from
either a dialog session or in background. The documentation I've found on
SAPFTP indicate that it is only available on NT or UNIX. When I run the
SAPFTP version program (RSFTP001) it displays a component of the SAPGUI
(SAPFTP.EXE) which leads me to believe that SAPFTP cannot be run from
background on OS/400. I'm headed down the path of building a function
module to run ftp via an OS/400 system command. I'll probably write my ftp
function in CL and RPG and then call it from ABAP. I am curious about the
methods others are using run ftp with ABAP on the AS/400.

TIA,
Stan

From jan.de.rooijZs... Tue Apr 09 11:41:39 2002
Return-Path: <Jan.de.RooijZs...>
X-Sender: Jan.de.RooijZs...
X-Apparently-To: DoNotReply@consolut.eu
Received: (EGP: mail-8_0_3_1); 9 Apr 2002 18:41:39 -0000
Received: (qmail 77590 invoked from network); 9 Apr 2002 11:27:42 -0000
Received: from unknown (66.218.66.217)
by m11.grp.scd.consolut.net with QMQP; 9 Apr 2002 11:27:42 -0000
Received: from unknown (HELO FW.SSC.NL) (194.134.230.98)
by mta2.grp.scd.consolut.net with SMTP; 9 Apr 2002 11:27:40 -0000
Received: from Pc150(J.ROOY[192.168.1.150]) by AS400TST.INTRA.SSC.NL (IBM OS/400
SMTP V04R05M00) with TCP; Tue, 9 Apr 2002 13:27:35 +0200
Return-Receipt-To: "Jan de Rooij" <Jan.de.RooijZs...>
To: <DoNotReply@consolut.eu>
Subject: RE: ABAP query
Date: Tue, 9 Apr 2002 13:30:36 +0200
Message-ID: <000001c1dfb9$f9cd2700$9601a8c0ZI...>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Disposition-Notification-To: "Jan de Rooij" <Jan.de.RooijZs...>
Importance: Normal
In-Reply-To: <OFDD0B1288.7474E22A-ON42256B96.0024BCD4Zg...>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
From: "Jan de Rooij" <jan.de.rooijZs...>
Reply-To: <Jan.de.RooijZs...>
X-consolut-Group-Post: member; u=54007536
X-consolut-Profile: janderooij
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi, Desmond,

A 'quick and dirty' trick: use a tempory file or data-area to control the
running status of a job.
Job one writes the file and deletes it at the end. Job two checks if it
exist and waits.

There might be better approaches but until then you could use it??

Kind regards

Jan de Rooij
-----Oorspronkelijk bericht-----
Van: desmond_olwageZgoodyear.
Durban Tours - Südafrika Safari

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4541 Date: 20240425 Time: 033532     sap01-206 ( 6 ms )