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

RE: FTP contents of an rpg variable.



Something like this ---

rc = ftp_putraw(sess :filename :?3 :?4);

What would I pass for peDescr since I don't have a file open ?
Well...  peReadProc too for that matter ?

Thanks,

John B.



-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, August 20, 2009 2:16 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: FTP contents of an rpg variable.

hi John,

Not per-se.  But it is possible to do this with ftp_putraw() (or 
ftp_getraw() to receive into a variable)


John Rusling wrote:
> Is there a function in the ftpapi to ftp the contents of an rpg variable?
>
> ie -
>
> rc = ftp_ContentsOf(sess:mystring:filename);
>
> Where 'mystring' could be 1 line or 100 lines of text and 'filename' would be the destination filename.
>
> 'sess' would already be set by ftp_conn.
>
>
> John B.
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
>   

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------