save() works with files and output streams. To upload to a website is not a file name and is completely different and depends on the website, e.g. ftp, sftp, web UI etc.. This is outside of PDFBox, sorry. You'll have to find out what your web hoster offers.
Tilman ------------------------------------------------------------------------ Gesendet mit der Telekom Mail App <https://kommunikationsdienste.t-online.de/redirects/email_app_android_sendmail_footer> --- Original-Nachricht --- Von: Luigi Bulanti Betreff: Save a pdf online Datum: 22.01.2020, 9:19 Uhr An: users@pdfbox.apache.org Goodmorning, I have a question about pdfbox. I create a pdf but when I have to save it there is an error : "java.io.FileNotFoundException" <http://java.io.FileNotFoundException"> ; This error appear when i try to save the pdf online with a url like http://test/example.pdf If I try to save the pdf in the local system with url like C:/Users/example.pdf there is no problem. I use the method document.save(String <http://document.save(String> name);