divelogs.de: parsing response on upload

Rainer Mohr mail at divelogs.de
Sat Dec 7 09:22:39 UTC 2013


Am 07.12.13 16:35, schrieb Dirk Hohndel:
> and the transfer is reported as successful, but then this is the
> server response:
> <?xml version="1.0" encoding="UTF-8"?>
> <divelogsDataImport version="1.0">
>    <Login>succeeded</Login>
>    <FileCopy>failed</FileCopy> <---------------- ?
>    <entered>0</entered>
>    <skipped>0</skipped>
>    <profiles>0</profiles>
> </divelogsDataImport>
> and the uploaded dive is missing in the web interface.
> any ideas?

FileCopy failed is the response you get when no DLD File has been POSTed 
to the API. Ist the fieldname of the POSTed File "userfile"?
So to me it looks like there was no file transmitted.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131207/7a74432d/attachment.html>

More information about the subsurface mailing list