× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have used FTPAPI too, and I consider it fantastic, when I had occasion to use 
it(up to about summer 2005). 

Like Francis said, you get control at the nitty-gritty level and you can catch 
errors as they happen, all that. I really appreciated having it available, and 
Scott Klement, yet again, gets a thousand points for getting it out there. 

--Alan



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Lapeyre, Francis
Sent: Thursday, April 27, 2006 2:40 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Using FTP: the best way


I just started using FTPAPI for a project. The project itself is still in
the QC phase, but I have had no problems with it. 

The reason I implemented it was the need to rename the downloaded files on
the fly (that's much easier accomplished in an RPG program than in CL).

I think that the main reason to use FTPAPI is error handling. Unless you
write your own error-handling routine to process the overridden OUTPUT log
file, there is no such thing using the FTP command in CL. I have my
application set up to page the on-call programmer if the number of files
downloaded is less than the number of files on the remote server (among
other errors), for example.

Scott includes a bunch of samples to help you get started, and from there it
was pretty easy. 


Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx 


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Andres Colodrero
Sent: Thursday, April 27, 2006 1:16 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Using FTP: the best way


I need conect to DHL ftp server, catch files, transfer to iseries files and
delete files into ftp server.

I have seen some methods, like "ovrdbf(input) using quote comand" or FTPAPI(
i test this apis, works very fine. I prefer FTPAPI (more control about
operations), but my boss (mmmmmm) prefers "ovrdbf inputs". But i dont have
used this methods.

whát´s the best way?.   



        
        
                
______________________________________________
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.