FileLu API

Where can I find my API key?

https://filelu.com/account/ => API Key => Switch ON

Account

Account Info
Request:
$ curl https://filelu.com/api/account/info?key=key
Response:
{ "msg": "OK", "result": { "email": "[email protected]", "storage_used": null, "premium_expire": "2022-02-18 11:16:07", "storage_left": "inf" }, "status": 200, "server_time": "2021-10-22 04:51:54" }

Upload

Step 1: Select a server which is ready to accept an upload
Request:
$ curl https://filelu.com/api/upload/server?key=key
Response:
{ "status": 200, "sess_id": "3rewps03u5ipbkm9", "result": "http://23.filelu.com/cgi-bin/upload.cgi", "msg": "OK", "server_time": "2021-10-22 05:13:21" }
Step 2: Upload a file to a file server selected on Step 1
Request:
$ curl -F "sess_id=SESS_ID" -F "utype=prem" -F "[email protected]" UPLOAD_URL
Response:
[ { "file_code": "b578rni0e1ka", "file_status": "OK" } ]
Resulting file URL:
https://filelu.com/b578rni0e1ka
Sample file upload form:
Remote URL upload
Request:
$ curl 'https://filelu.com/api/upload/url?key=key&url=http://domain.com/1mb.bin&fld_id=0'
Response:
[ { "file_code": "b578rni0e1ka", } ]
Resulting file URL (after upload completes):
https://filelu.com/b578rni0e1ka
Check remote URL upload status
Request:
$ curl https://filelu.com/api/file/info?file_code=b578rni0e1ka&key=key
Response:
[ { "file_code": "b578rni0e1ka", } ]

Download

Get your own file direct link
Request:
$ curl https://filelu.com/api/file/direct_link?file_code=b578rni0e1ka&key=key
Response:
{ "status": 200, "server_time": "2021-10-22 05:26:00", "result": { "url": "http://23.filelu.com/cgi-bin/dl.cgi/xuf4jzopi4mcmhtdbuwuyepms65d5s7fhhmzjdrhk6z2hoeqihdyqli/1mb.bin", "size": 1048576 }, "msg": "OK" }

File Management

File Info
Request:
$ curl https://filelu.com/api/file/info?file_code=b578rni0e1ka&key=key
Response:
{ "status": 200, "server_time": "2022-03-09 10:23:03", "result": [ { "filecode": "b578rni0e1ka", "name": "1mb.bin", "status": 200, "size": 1048576, "uploaded": "2022-03-09 10:20:52", "thumbnail": "https://filelu.com/images/icon/html-dist.png", "hash": "SLDsdflksdjffkDFDSkldf38fdjlkf", "downloads": 0 } ], "msg": "OK" }
Get files list
Request:
$ curl https://filelu.com/api/file/list?key=key
Response:
{ "msg": "OK", "result": { "files": [ { "name": "1mb.bin", "file_code": "b578rni0e1ka", "downloads": 0, "thumbnail": "https://filelu.com/images/icon/html-dist.png", "public": 1, "size": 5789, "link": "https://filelu.com/b578rni0e1ka/1mb.bin.html", "fld_id": 0, "hash": "SLDsdflksdjffkDFDSkldf38fdjlkf", "uploaded": "2022-03-09 10:20:52" } ], "results_total": 7, "results": 7 } }
Rename file
Request:
$ curl https://filelu.com/api/file/rename?file_code=b578rni0e1ka&name=newname.bin&key=key
Response:
{ "status": 200, "result": "true", "msg": "OK", "server_time": "2022-03-09 10:46:14" }
Clone file
Request:
$ curl https://filelu.com/api/file/clone?file_code=b578rni0e1ka&key=key
Response:
{ "status": 200, "result": { "url": "https://filelu.com/r9o25tsq86ru", "filecode": "r9o25tsq86ru" }, "msg": "OK", "server_time": "2022-03-09 10:49:48" }
Set file(s) folder
Request:
$ curl https://filelu.com/api/file/set_folder?file_code=b578rni0e1ka&fld_id=15&key=key
Response:
{ "server_time": "2022-03-09 11:26:22", "msg": "OK", "status": 200 }
Set file(s) Sharing / Only_Me
Request:
$ curl https://filelu.com/api/file/only_me?file_code=b578rni0e1ka&only_me=0&key=key
Value:
0 => Sharing, 1 => Only_Me
Response:
{ "server_time": "2022-03-09 11:26:22", "msg": "OK", "status": 200 }
File(s) Remove / Restore
Remove:
$ curl https://filelu.com/api/file/remove?file_code=b578rni0e1ka&remove=1&key=key
Restore:
$ curl https://filelu.com/api/file/restore?file_code=b578rni0e1ka&restore=1&key=key
List deleted files
Request:
$ curl https://filelu.com/api/files/deleted?key=key
Response:
{ "status": 200, "msg": "OK" "result": [ { "deleted_ago_sec": 4, "deleted": "2022-03-09 11:41:58", "file_code": "ym7e86b6sap4", "name": "newname.bin" } ], "server_time": "2022-03-09 11:42:02", }

Folder Management

Folder List
Request:
$ curl https://filelu.com/api/folder/list?fld_id=0&key=key
Response:
{ "status": 200, "msg": "OK", "result": { "files": [ { "fld_id": 0, "link": "https://filelu.com/b578rni0e1ka", "file_code": "b578rni0e1ka", "uploaded": "2022-03-09 10:49:51", "name": "1mb.bin" } ], "folders": [ { "fld_id": 15, "code": null, "name": "folder1" } ] }, "server_time": "2022-03-09 11:31:52" }
Create Folder
Request:
$ curl https://filelu.com/api/folder/create?parent_id=0&name=newfolder&key=key
Response:
{ "status": 200, "msg": "OK" "result": { "fld_id": 52 }, "server_time": "2022-03-09 11:37:35", }
Rename Folder
Request:
$ curl https://filelu.com/api/folder/rename?fld_id=15&name=newname&key=key
Response:
{ "status": 200, "msg": "OK" "result": "true", "server_time": "2022-03-09 11:39:29", }
Folder Setting
Request:
$ curl https://filelu.com/api/folder/setting?fld_id=15&filedrop=0&fld_public=0&key=key
Value:
0 => OFF, 1 => ON
Response:
{ "status": 200, "msg": "OK" "result": "true", "server_time": "2022-03-09 11:39:29", }











Earn +20GB FREE

Upload Tools

FileLu offers cross-platform file uploading capabilities, allowing you to upload files from any device connected to the internet. Features include web upload, bulk folder upload (drag-n-drop), URL remote upload, FTP/FTPS, FileDrop (receive files), Mobile app, FileLuSync (desktop), Email Attachment Backup, API, WebDAV, Terminal CLI, IoT devices, and Raspberry Pi integration. Sign Up

Secure File Sharing

Easily share files with just one click. We provide file and folder link URLs that you can effortlessly share publicly with your friends, teams, on social networks, via email, or anywhere that allows links. They can view and download files without registering or logging in. You can also share privately internally by adding your team’s username to the shared folder, and the folder will appear in their account.

Sign Up

Privacy & Encryption

At FileLu, we prioritize privacy and data integrity to ensure the safety of you and your clients. We are committed to providing a secure file storage backup platform, with all data transfers protected by SSL and encrypted at our datacenter. Additionally, you can enable Secure-Solo-Cipher Encryption (SSCE) for an added layer of security.

Sign Up

Flexible Storage Space

Our Free plan offers storage options ranging from 10 GB up to 1 TB through our referral program. Premium plan range from 128 GB up to 500 TB. Scalability: you can upgrade or downgrade your plan at any time. Upgrade now for as low as $0.83 per month. The Family Share Storage/Storage Pool feature allows you to share your storage with family or your team.

Upgrade

Save Money be Happy

Maximize your savings with our affordable cloud storage plan.

Cost Savings per TB

Customer Satisfaction

Files / Folders Management

FileLu offers a range of file management tools to help organize and retrieve your folders and files efficiently. You can create, copy, and manage files and folders, including sub-folders. Additionally, you can use FileDrop to receive files directly from others into your folder, set passwords for links, zip entire folders, encrypt folders, convert videos, enable CCTV camera FTP loop recording, and more, including file previews.

Multiple upload tools

We support a wide range of versatile and easy-to-use upload tools. You can effortlessly upload from any device, including macOS, Windows, Linux CLI, mobile phones, or even Raspberry Pi or any IoT devices. Our platform ensures seamless and hassle-free file uploading, making it convenient for users across all devices.

Top-Notch Support

Our customer support ensures you always have help with your cloud storage needs. From signing up and account management to payments and troubleshooting, our team is here around the clock to provide prompt and reliable assistance.

Secure Payments

All payment transactions are processed via SSL, ensuring secure payments with a 15-day money-back guarantee. You can pay via web or mobile app. Prices are final, with no setup fees or hidden charges!