Search found 33 matches

by snowman
Fri May 05, 2017 9:36 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Ok. It works now. The error was trivial. The url ends with ../importEml not importEML ! Oh my.
Thank you for your patient help.
by snowman
Mon May 01, 2017 9:21 am
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

OK. I tried. The -d option of curl does not go together with the -F option. With -d I cannot give the target path. So I guess I have to stick with -F. Man page says there is difference if you transfer a file using -F content=@file and -F content=<file . I tried both. No success. Then I applied all p...
by snowman
Sun Apr 30, 2017 10:36 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

HI, I am sorry. I did not see your post. I turned on debug in catalina log and got roughly 130kB of messages. There is no ERROR line in it. I do not know what to look for. Some interesting parts may be: 2017-05-01 00:09:32,429 [http-bio-0.0.0.0-8080-exec-1] DEBUG org.apache.tomcat.util.modeler.BaseM...
by snowman
Sun Apr 23, 2017 6:54 am
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

I can now confirm that another independent Installation shows the same behavior.
by snowman
Wed Apr 19, 2017 7:05 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Hi, thanks for the example. I tried it but it does not work. I guess I get a 404?! Result of curl: * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 8080 (#0) * Server auth using Basic with user 'okmAdmin' > POST /OpenKM/services/rest/mail/importEML HTTP/1.1 > Authorization: Basic b2tt...
by snowman
Tue Apr 18, 2017 9:02 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Sorry for asking so stupidly. I am not familiar with java. I understand from the code that I have to pass two parameters: dstId and content. Is this correct: curl -u user:pass -H "Accept: application/json" -X POST -F dstId=/okm:root/test/testmail.eml -F content=/root/10.eml http://localhost:8080/Ope...
by snowman
Sat Apr 15, 2017 8:13 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Hello,

I upgraded to Version 6.3.3 now. My issue is still to import email (as eml files) into the file area using a scripted way.
Can this be done using rest "importEml" ? How can I parametrize it using curl?

Thank you,snowman
by snowman
Mon Feb 20, 2017 9:40 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Hello,

is there any news on uploading an .eml to the file area ending up as an email object using the API (REST preferred)?
Or any other scriptable way to get emails into the file area showing up as emails?

Best regards
by snowman
Mon Dec 28, 2015 7:58 am
Forum: Web Services
Topic: Restsharp missing method exception
Replies: 3
Views: 2386

Re: Restsharp missing method exception

Hello, thank you. It works now, I understand that only v1.1.1 is available for the community edition? I hoped to find a way to get a .eml file imported as mail into the file area. It looks like createDocumentSimple() behaves differently than the manual file import in the web client. I have not found...
by snowman
Fri Dec 25, 2015 10:25 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Hello, is there any update on this topic? I tried to tackle this issue again using the rest services. But a) I cannot get the C# API to work and B) tried the curl post document example. The latter uploads an eml file but does no conversion to mail. Which one would be the proper API call to resemble ...
by snowman
Fri Dec 25, 2015 9:37 pm
Forum: Web Services
Topic: Restsharp missing method exception
Replies: 3
Views: 2386

Restsharp missing method exception

Hello, I try to add a file using the OpenKM C# Rest API 2.1. I just set up a project in VS2013, found out that I had to add RestSharp (v105.2.3.0 by NuGet) and now get a "Missing method" exception on calling createDocument(): An unhandled exception of type 'System.MissingMethodException' occurred in...
by snowman
Mon Mar 02, 2015 12:26 am
Forum: Installation
Topic: 6.3.0 community failed to start component
Replies: 3
Views: 1614

Re: 6.3.0 community failed to start component

everything (download from sourceforge,unpacking, starting) was done using root. Unfortunately I cannot find a reference on which "path not found".
Is there any other reference pointing outside the package apart from java?
by snowman
Sat Feb 28, 2015 10:14 pm
Forum: Installation
Topic: 6.3.0 community failed to start component
Replies: 3
Views: 1614

6.3.0 community failed to start component

Hello, I tried to update from 6.2.5 to 6.3.0 but it wont work. I tried the migration guide as well as fresh install using openkm+tomcat bundle. I always get the same error in catalina.log: org.apache.catalina.LifecycleException: Failed to start component and later: Caused by: java.lang.NoClassDefFou...
by snowman
Sat Feb 28, 2015 7:01 pm
Forum: Installation
Topic: Failed to update OpenKM 6.2.6 to 6.3.0
Replies: 7
Views: 1505

Re: Failed to update OpenKM 6.2.6 to 6.3.0

Hello, I follow and I am using openKM since 5.0.7. And it works quite stable. However, please, please improve the migration guide. I consider myself an experienced amateur using and administering linux for 20 years now. I manage VMs and a whole set of (database) applications. Still, migrating from o...
by snowman
Fri Jul 04, 2014 8:56 pm
Forum: Web Services
Topic: script import mail
Replies: 23
Views: 7283

Re: script import mail

Hi, the php sdk 1.0.1 does not support a mail object. When I try to import the .eml as a file (using OKMDocument->createSimple() ) it does not get parsed, When I look at the SoapServices I get no clue on how to use it. I cannot put in a file like with "createSimple". I appears that I have to parse t...