Is it possible to convert a document to PDF and directly upload it to an online storage using "soffice convert-to"?

I found out that command line libreoffice knows how to download and convert an online document to PDF, but now I’m wondering if it knows how to upload the output too instead of saving it to file locally?