Re: JOGI - Document Upload
Adam Tauno Williams <[email protected]> Fri, 05 May 2006 11:30:57 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <1146843057.8486.17.camel@localhost> |
> i have a question regarding the JOGI API! > I want to upload files... > I know there is a method to create a new Document in Project with > public boolean *newDocument*(java.lang.String path, > java.lang.String content, > Attribute attr) > but how can i upload a Document which exists in a filesystem? > For example a jpg Picture?? Have you tried reading the file into a string and using that as the parameter? You may need to base64 encode the string.
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBEW2+xLRePpNle04MRAo07AJ97nfgn0RMXnLFR6ediLSd8RV+EAACfQhHl 1KeeSln6+eO+itqBtJ8kXag= =524H -----END PGP SIGNATURE-----