<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: File upload to Nuxeo server from Android mobile in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318326#M5327</link>
    <description>&lt;P&gt;Duplicate to https&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2017 15:22:29 GMT</pubDate>
    <dc:creator>mathias_lin</dc:creator>
    <dc:date>2017-01-26T15:22:29Z</dc:date>
    <item>
      <title>File upload to Nuxeo server from Android mobile</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318324#M5325</link>
      <description>&lt;P&gt;// Get The Root
Document root = (Document) session.newRequest("Document.Fetch").set(
"value", "/").execute();
// Create a File Document
session.newRequest("Document.Create").setInput(root).set("type", "File").set(
"name", "myfile").set("properties", "dc:title=My File").execute();&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;// Upload The file
File file = getTheFileToUpload();
FileBlob fb = new FileBlob(file);
fb.setMimeType("text/xml");
// uploading a file will return null since we used HEADER_NX_VOIDOP
session.newRequest("Blob.Attach").setHeader(
        Constants.HEADER_NX_VOIDOP, "true").setInput(fb)
        .set("document", "/myfile").execute();
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;File content not creating in Nuxeo server Error message:"Binary request not supported"&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2012 07:45:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318324#M5325</guid>
      <dc:creator>Bob_James</dc:creator>
      <dc:date>2012-05-12T07:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: File upload to Nuxeo server from Android mobile</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318325#M5326</link>
      <description>&lt;P&gt;Please edit your message to introduce clearly what you're doing and the problem you encounter.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2012 15:18:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318325#M5326</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2012-05-14T15:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: File upload to Nuxeo server from Android mobile</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318326#M5327</link>
      <description>&lt;P&gt;Duplicate to https&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2017 15:22:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/file-upload-to-nuxeo-server-from-android-mobile/m-p/318326#M5327</guid>
      <dc:creator>mathias_lin</dc:creator>
      <dc:date>2017-01-26T15:22:29Z</dc:date>
    </item>
  </channel>
</rss>

