File upload script
This script uploads a single file or group of files to Crocko servers. It uses the Crocko API. There are 3 version written in Perl, PHP and Python. They are optimized to work within a UNIX environment, but the Perl version has also been tested on Windows platforms.
Download all scripts in a single archive: crockoapi.zip (27 KB)
new All scripts can upload a single file, a whole folder or grab list of uploaded files from specific file. You can run them with -h option to see complete options list.
-h, --help show this help message and exit
-u USERNAME, --username=USERNAME
your login
-f FILENAME, --file=FILENAME
path to file for upload
-d DIRECTORY, --directory=DIRECTORY
path to directory with files to upload
-l LIST, --list=LIST
path to file with files list to upload (one per line)
-p PASSWORD, --password=PASSWORD
your password
-v verbose output
-o output to a file. Only in compact mode. The existing file will be appended.
API for developers
Overview
This document describes the REST API for Crocko, which can be used to write applications that integrate with Crocko file hosting platform.
We have provided several client libraries for Perl, PHP and Python. Currently the REST API returns responses in an XML format.
API request format: HTTP method api.crocko.com/resource
There are four basic methods in HTTP: GET, POST, PUT, and DELETE. If you can't use PUT, DELETE methods, use the POST method and add _method=PUT or _method=DELETE to the query.
Add the following string to the header of the request - Accept: application/atom+xml
All requests to the API should be made with UTF-8 encoding. Any non-ASCII character should be escaped.
Resource examples:
User authentication
Most API commands need authentication. You will need apikey for this process. Every Crocko account has its own apikey. It is used instead of a login/password combination.
You can get your apikey from the following page -
http://www.crocko.com/accounts/profile/misc
An alternative way to get an apikey is to perform POST request: api.crocko.com/apikeys with params login=user_login and pass=user_password. You should store your apikey locally and use it in future API requests.
List of API methods
| Description |
Method |
Parameters |
Needs auth |
Needs premium |
Returns |
| Get apikey |
POST /apikeys |
login, password |
no |
no |
apikey |
| Upload file |
POST /file |
no |
yes |
no |
file id, file name, file size in bytes, download link, delete link |
| Get file details |
GET /files/:id |
id |
yes |
yes |
file id, file name, file url, status |
| Get direct link |
GET /files/:id;DirectLink |
id |
yes |
yes |
file id, file url, file size |
| Move files into a folder |
PUT /folders/:id;files |
:id, files |
yes |
no |
folder id, folder url, folder size, number of moved files |
| Get account details |
GET /account |
:id |
yes |
no |
id, name, email, balance, premium, premium start, premium end |
| Make a file copy |
POST /files/copy:id |
:id |
yes |
no |
file id of copy, file name, file size in byte, copy download link, delete link |
Get apikey
- Request
- /apikeys
- HTTP-method
- POST
- Description
- Returns apikey of account, specified by login/password pair
- Parameters
-
| Name |
Description |
| login |
| password |
- Returns
-
- Errors
- errorWrongCredentials
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" --data "_method=POST&login=YOURLOGIN&password=YOURPASSWORD" http://api.crocko.com/apikeys
HTTP/1.1 201 Created
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>ApiKey</title>
<id>http://api.crocko.com/apikeys</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/apikeys" rel="self"/>
<entry>
<title>apikey</title>
<content type="text">YOURAPIKEY</content>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<id>/apikeys</id>
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw(CrockoAPI);
use api_config qw(username);
use api_config qw(password);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new();
$cu->getAPIkey($username, $password);
if ( not $cu->{error}) {
print $cu->{apikey}, "\n\n" ;
} else {
print $cu->{errorMessage}, "\n\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI();
$cu->getAPIkey($username, $password);
if (empty($cu->error)) {
print "ApiKey - $cu->apikey \n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import username, password
cu = CrockoAPI()
cu.getAPIkey(username, password)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "ApiKey - ", cu.apikey
Upload file
- Request
- /file
- HTTP-method
- POST
- Description
- Upload file to crocko server
- Parameters
-
no
- Returns
-
| Name |
Description |
| id |
| title |
| size |
| link with title download link |
| link with title delete_link |
- Errors
- errorFileSize, errorEmptyFile, errorUploadLimit, errorFileInBlackList, errorUploadFaild
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -F upload=@testfile1MB -H "Accept: application/atom+xml" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/files"
HTTP/1.1 201 Created
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>File upload result</title>
<id>http://api.crocko.com/files</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/files" rel="self"/>
<entry>
<id>YOURFILEID</id>
<title>testfile1MB</title>
<ed:size>1048576</ed:size>
<link title="download_link" href="http://www.crocko.com/YOURFILEID/testfile1MB"
rel="enclosure" length="1048576" />
<link title="delete_link" href="http://www.crocko.com/del/YOURDELETELINKID.html" rel="self" />
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new($apikey);
my $filename = 'testfile1MB';
$cu->upload($filename);
if ( not $cu->{error}) {
print "File title - ", $cu->{title},"\n";
print "File size - ", $cu->{length},"\n";
print "Uploaded file ID - ", $cu->{id},"\n";
print "Download link - ", $cu->{downloadLink},"\n";
print "Delete link - ", $cu->{deleteLink},"\n";
} else {
print $cu->{errorMessage}, "\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$filename = "testfile1MB";
$cu->upload($filename);
if (empty($cu->error)) {
print "File title - $cu->title \n";
print "File id - $cu->id \n";
print "File size - $cu->length \n";
print "Download link - $cu->downloadLink \n";
print "Delete link - $cu->deleteLink \n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey
cu = CrockoAPI(apikey)
file = 'testfile1MB'
cu.upload(file)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "File ID - ", cu.id
print "File title - ", cu.title
print "File size ", cu.length
print "Download link - ", cu.downloadLink
print "Delete link - ", cu.deleteLink
Get file details
- Request
- /files/:id
- HTTP-method
- GET
- Description
- Get file details
- Parameters
-
- Returns
-
| Name |
Description |
| id |
| title |
| link with attribute length - file size |
| status (active, blocked, deleted) |
- Errors
- errorFileNotFound
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/files/YOURFILEID"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>File Full info</title>
<id>http://api.crocko.com/files/YOURFILEID</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/files/YOURFILEID" rel="self"/>
<entry>
<id>YOURFILEID</id>
<title>testfile1MB</title>
<ed:status>O</ed:status>
<link href="http://www.crocko.com/YOURFILEID/testfile1MB"
rel="enclosure" length="1048576" />
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
use api_config qw(file_id);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new($apikey);
$cu->getFileInfo($file_id);
if ( not $cu->{error}) {
print "File id - $cu->{id} \n";
print "File size - $cu->{length}\n";
print "File title - $cu->{title} \n";
print "Download link - $cu->{downloadLink} \n";
print "File status - $cu->{status}\n";
} else {
print $cu->{errorMessage}, "\n\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$cu->getFileInfo($file_id);
if (empty($cu->error)) {
print "File id - $cu->id \n";
print "File size - $cu->length\n";
print "File title - $cu->title \n";
print "Download link - $cu->downloadLink\n";
print "File status - $cu->status\n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey, file_id
cu = CrockoAPI(apikey)
cu.getFileInfo(file_id)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "File id - ", cu.id
print "File size - ", cu.length
print "File title - ", cu.title
print "Download link - ", cu.downloadLink
print "File status - ", cu.status
Get direct link
- Request
- /files/:id;DirectLink
- HTTP-method
- GET
- Description
- Get direct link to the file. This link can be used to download the file. The owner of the apikey should have active Premium account. Only links to active files are returned. Blocked or deleted files do not have direct download links. To download using this link you should include apikey in the header of the HTTP request.
- Parameters
-
- Returns
-
| Name |
Description |
| id |
| link with attribute length - file size |
- Errors
- errorFileNotFound, errorPermissionDenied, errorFileInNoDownloadedStatus
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/files/YOURFILEID;DirectLink"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>File info</title>
<id>http://api.crocko.com/files/YOURFILEID;DirectLink</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/files/YOURFILEID;DirectLink" rel="self"/>
<entry>
<id>YOURFILEID</id>
<title>YOURFILENAME</title>
<link href="http://d18.crocko.com/file_contents/file/id/YOURFILEID/skey/87gdsglfsdd11azHHGGS/cont_id/51" rel="enclosure" length="143872" />
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
use api_config qw(file_id);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new($apikey);
$cu->getDirectLink($file_id);
if ( not $cu->{error}) {
print "File id - $cu->{id} \n";
print "File title - $cu->{title} \n";
print "File size - $cu->{length} \n";
print "Direct link - $cu->{directLink} \n";
} else {
print $cu->{errorMessage}, "\n\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$cu->getDirectLink($file_id);
if (empty($cu->error)) {
print "File id - $cu->id \n";
print "File title - $cu->title \n";
print "File size - $cu->length \n";
print "Direct link - $cu->directLink \n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey, file_id
cu = CrockoAPI(apikey)
cu.getDirectLink(file_id)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "File id - ", cu.id
print "File size - ", cu.length
print "File title - ", cu.title
print "Download link - ", cu.directLink
Move files into a folder
- Request
- /folders/:id;files
- HTTP-method
- PUT
- Description
- This link can be used to move files into a folder. Link to folder and number of moved files are returned. To use this link you should include the apikey in the header of the HTTP request.
- Parameters
-
| Name |
Description |
| :id |
| files |
- Returns
-
| Name |
Description |
| id |
| link with attribute length |
| ed:updated |
- Errors
- errorFolderNotFound, errorPermissionDenied, errorFolderFilesAddFailed
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" -d "_method=PUT&files[0]=YOURFILEID" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/folders/YOURFOLDERID;files"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
Set-Cookie: fdt=1; expires=Thu, 31-Oct-2041 06:16:31 GMT; path=/; domain=.crocko.com
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>Add files to folder</title>
<id>http://api.crocko.com/folders/YOURFOLDERID;files</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/folders/YOURFOLDERID;files" rel="self"/>
<entry>
<id>YOURFOLDERID</id>
<link href="http://www.crocko.com/f/YOURFOLDERID/test_api" title="folder_link" rel="enclosure" length="1192448" />
<ed:updated>1</ed:updated>
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
use api_config qw(file_id);
use api_config qw(folder_id);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my @files_id=($file_id);
my $cu = CrockoAPI->new($apikey);
$cu->moveFileToFolder( \@files_id, $folder_id);
if ( not $cu->{error}) {
print $cu->{folderID}, "\n";
print $cu->{folderUrl}, "\n";
} else {
print $cu->{errorMessage}, "\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$cu->moveFileToFolder(array($file_id), $folder_id);
if (empty($cu->error)) {
print "Folder id - $cu->folderID\n";
print "Folder URL - $cu->folderUrl\n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey, file_id, folder_id
cu = CrockoAPI(apikey)
cu.moveFileToFolder([file_id], folder_id)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "Folder url - ", cu.folderUrl
print "Folder id - ", cu.folderID
Get account details
- Request
- /account
- HTTP-method
- GET
- Description
- Get account and premium account details
- Parameters
-
- Returns
-
| Name |
Description |
| account_id |
| Name of the account owner |
| E-mail |
| Account balance |
| Status of premium account |
| Premium account start date |
| Premium account end date |
- Errors
- errorAccountNotFound, errorPermissionDenied
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/account"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>Account Info</title>
<id>http://api.crocko.com/account</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/account" rel="self"/>
<entry>
<id>4216929</id>
<ed:name>apitest</ed:name>
<ed:email>your@mail.net</ed:email>
<ed:balance>2438.34</ed:balance>
<ed:premium>Active</ed:premium>
<ed:premium_start>2010-06-08 07:13:53</ed:premium_start>
<ed:premium_end>2010-07-08 07:13:53</ed:premium_end>
<ed:premium_trafficLeft>8589934592</ed:premium_trafficLeft>
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new($apikey);
$cu->getAccountInfo($cu->{apikey});
if ( not $cu->{error}) {
print "ID - ", $cu->{accountID},"\n";
print "Name - ", $cu->{accountName},"\n";
print "Email - ", $cu->{accountEmail},"\n";
print "Balance - ", $cu->{balance},"\n";
print "Premium status - ", $cu->{premiumStatus},"\n";
print "Premium start - ", $cu->{premiumStart},"\n";
print "Premium end - ", $cu->{premiumEnd},"\n";
print "PremiumTrafficLeft - ", $cu->{premiumTrafficLeft},"\n";
} else {
print $cu->{errorMessage}, "\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$cu->getAccountInfo();
if (empty($cu->error)) {
print "ID - $cu->accountID \n";
print "Name - $cu->accountName \n";
print "Email - $cu->accountEmail \n";
print "Balance - $cu->balance \n";
print "Premium status - $cu->premiumStatus\n";
print "Premium start - $cu->premiumStart\n";
print "Premium end - $cu->premiumEnd\n";
print "PremiumTrafficLeft - $cu->premiumTrafficLeft\n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey
cu = CrockoAPI(apikey)
cu.getAccountInfo()
if cu.error:
print "Error - ", cu.errorMessage
else:
print "ID - ", cu.accountID
print "Name - ", cu.accountName
print "Email - ", cu.accountEmail
print "Balance - ", cu.balance
print "Premium status - ", cu.premiumStatus
print "Premium start - ", cu.premiumStart
print "Premium end - ", cu.premiumEnd
print "PremiumTrafficLeft - ", cu.premiumTrafficLeft
Make a file copy
- Request
- /files/copy:id
- HTTP-method
- POST
- Description
- This link can be used for making a file copy. A link to the file copy is returned. To use this link you should include the apikey in the header of the HTTP request.
- Parameters
-
- Returns
-
| Name |
Description |
| id |
| title |
| size |
| link with title download_link |
| link with title delete_link |
- Errors
- errorFileNotFound, errorPermissionDenied
- Examples
-
Curl
Perl
PHP
Python
back to the list
curl -i -H "Accept: application/atom+xml" -d "_method=POST" -H "Authorization: YOURAPIKEY" "http://api.crocko.com/files/copy/YOURFILEID"
HTTP/1.1 201 Created
Server: nginx
Date: Wed, 26 Oct 2011 14:00:00 GMT
Content-Type: application/atom+xml
Transfer-Encoding: chunked
Connection: keep-alive
Keep-Alive: timeout=64
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns='http://www.w3.org/2005/Atom'
xmlns:ed='http://www.crocko.com/developers.html'>
<title>File copy</title>
<id>http://api.crocko.com/files/copy/YOURFILEID</id>
<updated>Wed, 26 Oct 2011 07:00:00 -0700</updated>
<author><name>http://www.crocko.com/</name></author>
<link href="/files/copy/YOURFILEID" rel="self"/>
<entry>
<id>COPYFILEID</id>
<link href="http://www.crocko.com/COPYFILEID/YOURFILENAME" title="download_link" rel="enclosure" length="143872" />
<link href="http://www.crocko.com/del/YOURDELETELINKID.html" title="delete_link" rel="related" />
</entry>
</feed>
#!/usr/bin/perl
use Getopt::Long;
use utf8;
use Encode;
use lib "..";
use crockoapi qw (CrockoAPI);
use api_config qw(apikey);
use api_config qw(file_id);
local $|=1;
binmode STDOUT, ":encoding(UTF-8)";
my $cu = CrockoAPI->new($apikey);
$cu->makeCopy($file_id);
if ( not $cu->{error}) {
print "Download link - $cu->{copy_downloadLink} \n";
print "Delete link - $cu->{copy_deleteLink} \n";
} else {
print $cu->{errorMessage}, "\n" ;
}
#!/usr/bin/php
<?php
require "../crockoapi.php";
include "api_config.php";
$cu = new CrockoAPI($apikey);
$cu->makeCopy($file_id);
if (empty($cu->error)) {
print "Copy download link - $cu->copy_downloadLink \n";
print "Copy delete link - $cu->copy_deleteLink \n";
} else {
print "Error - $cu->errorMessage\n";
}
?>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from sys import path
path.append('..')
from crockoapi import CrockoAPI
from api_config import apikey, file_id
cu = CrockoAPI(apikey)
cu.makeCopy(file_id)
if cu.error:
print "Error - ", cu.errorMessage
else:
print "Delete link - ", cu.copy_deleteLink
print "Download link - ", cu.copy_downloadLink
Error codes
-
-
| Name |
|
Comment |
| errorAccountNotFound |
|
| errorApiKeyAlreadyCreated |
|
| errorEmptyFile |
|
| errorFileInBlackList |
|
| errorFileInNoDownloadedStatus |
|
| errorFileNotFound |
|
| errorFolderNotFound |
|
| errorFolderFilesAddFailed |
|
| errorFileSize |
|
| errorPermissionDenied |
|
| errorUploadLimit |
|
| errorUploadFaild |
|
| errorWrongCredentials |
|