How do I...save a string to a remote file via FTP?
I'm writting a WAN IP extraction & publishing script and am on the cusp of completion. Just one issue remains...
I've retrieved (via cURL) the router page data and stored it into a string variable. I would like to save this string as a remote file over FTP. Only problem is that it looks like all the FTP functions for 'writting' data want an actual filename, not a string of text.
Is there a way to write a string to a file via FTP without having to write the string to a file locally first?
TIA
=============================
Sean Shrum
Shrum Consulting
C.A.T.S.: Consulting: Programming: R/C Soaring:
I'm writting a WAN IP extraction & publishing script and am on the cusp of completion. Just one issue remains...
I've retrieved (via cURL) the router page data and stored it into a string variable. I would like to save this string as a remote file over FTP. Only problem is that it looks like all the FTP functions for 'writting' data want an actual filename, not a string of text.
Is there a way to write a string to a file via FTP without having to write the string to a file locally first?
TIA
=============================
Sean Shrum
Shrum Consulting
C.A.T.S.: Consulting: Programming: R/C Soaring: