[wp-hackers] Sending a file to a plugin via XMLRPC?

Martin Lazarov martin at lazarov.bg
Tue Sep 17 15:51:51 UTC 2013


If you host this file somewhere you can just send link to the plugin
and using curl to download the remote file from the plugin.

On Tue, Sep 17, 2013 at 6:39 PM, David Anderson <david at wordshell.net> wrote:
> Hi,
>
> Has anyone ever written code to send a file, in chunks, from one WP install
> to another, using XMLRPC? That's a task I've got to work on soon - but I
> don't want to re-invent the wheel.
>
> My plugin code will be installed at both ends.
>
> The files are potentially very large. Basically, the sending end needs to be
> able to:
> a) See how much of the file is already uploaded ("oy, how much of this file
> have you already got?")
> b) Send the next chunk, in a loop ("here's a chunk - thanks - here's a chunk
> - thanks ...")
>
> Many thanks,
> David
>
> --
> WordShell - WordPress fast from the CLI - www.wordshell.net
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list