Home Cloud Account Management Support Forums Downloads About Us  

Blue Alligator Support Forums

Support for the Blue Alligator applications

You are not logged in.

#1 2019-02-23 16:40:32

garak734
New member
Registered: 2019-01-29

Cloud Web Service UploadFile

I am developing a "bridge" to communicate with a cloud account directly from a PHP system using CURL to send requests.

I have followed the documentation in the Blue Alligator Cloud Web Service Reference PDF but when I send the following request (where <licence> and <activation> have been sanitised for the forum and <filedata> is base64 encoding of file content):

<baccloud>
    <licence>xxxxxxxxxx</licence>
    <activation>xxxx-xxxx-xxxx-xxxx</activation>
    <filename>catalogues.csv</filename>
    <currentchunk>0</currentchunk>
    <maxbytes>0</maxbytes>
    <filelength>29</filelength>
    <filedata>Q29kZX5EZXNjcmlwdGlvbgpaMDAxflppZ2dsZQo=</filedata>
    <backofficeref></backofficeref>
</baccloud>

to uploadfile

The response is:

<result>
    <code>1</code>
    <message>Upload file failed</message>
</result>

Is there any documentation to describe what Code 1 means?
How can I find out what the problem is?

I have used listfiles without any problems, so the licence and activation codes work.

Offline

 

#2 2019-02-25 09:37:39

admin
Administrator
Registered: 2008-02-09

Re: Cloud Web Service UploadFile

You can find more details on upload errors on your Cloud Account under File Management > Upload Files .

You may want to attempt uploading the files manually through this page as it may give you a better understanding of the error message.

Offline

 

Board footer

Apple, the Apple logo, iPod, iPod touch, iPad and iTunes are trademarks of Apple Inc., registered in the U.S. and other countries. iPhone is a trademark of Apple Inc. App Store is a service mark of Apple Inc.
© Copyright 2009 - Blue Alligator Company Limited. All rights reserved.