[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to FTP Queries



Hi Ernesto,

Typically if you want to transfer a non-file object, you have to first 
save it to a SAVF.  (Using the SAVOBJ, SAVLIB, or SAV CL command).  Then 
you can transfer the SAVF to another computer using FTP (or similar.) 
On the destination computer, you'd use RSTOBJ, RSTLIB, or RST to restore 
the non-file object.

This is true of all file transfer methods.. it's not limited to FTP or 
FTPAPI.

Disclaimer: I don't work with *QRYDFN objects, and I'm not sure if they 
have any unusual requirements.  I'm assuming they're the same as all of 
the other non-file objects.


On 9/15/2010 9:51 AM, Ernesto Irizarry wrote:
>
>     I have used and tested the FTPAPI to Get a source file/member from one
>     as400 to another; works fine.
>
>
>     Now, How to FTP_GET a query definition ??
>
>
>     Thanks
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------