Status & Roadmap
Authors & License
Funding Ultimate++
Search on this site
Search in forums

SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » Applications created with U++ » Skylark uploaders (A tiny website for uploading and downloading file)
Skylark uploaders [message #57563] Sat, 25 September 2021 21:51 Go to next message
Xemuth is currently offline  Xemuth
Messages: 369
Registered: August 2018
Location: France
Senior Member
Hello, A long time ago I worked with skylark and did for fun a file uploader/donwloader. Since it show some skylark possibilities and fit perfectly well with UppHUB, I have uploaded a "polished" version available here : Skylark Uploaders

The code have been made a long time ago and really quickly so don't be rude Very Happy, IMO the project is good on demonstrating skylark possibilities.
However, to make the whole website work I had to twick Skylark package with one modification that I ask for here : Skylark update GetIdentity()

@Mirek, if you are OK with the modification to skylark and are interested on adding this app to UppHub then tell me I will do the pull request for both things.

For simplicity I will just past the readme here to present the application :

Skylark uploaders is a free C++ program that will create a website allowing to upload / download files. It require Ultimate++ to be compiled.


At first launch, the program will require you to create the master user :


The default port of the website is 7979 (of course it can be changed via modifying the code):


the first page you will stand at is the authentication page:


When master user is connected. It can create new users. every users can delete or upload files. Sometime you would like to share file without create account for users to connect. To do it so then you can simply click the link button near the file you want to share to create a public link to this file :


The generated link will be shown under the file row :


This link is public and can be share. The max downloads value will ensure the link will no longer be available after a certain amount of downloading (here 4).

Known problem :

-On tiny system like raspberry, huge file will make the program crash when someone try to download them (upload is working fine as long you got the necessary space) .

-if file have non ascii characters in is name then the application wont be able to delete it.

Re: Skylark uploaders [message #57567 is a reply to message #57563] Sun, 26 September 2021 10:41 Go to previous messageGo to next message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 105
Registered: June 2011
Experienced Member
Nicely done. I've done a couple of example sites with skylark, mostly imageboards and small versions of reddit-like sites, but not for production use. It would be cool if one day we could dogfood the whole thing with ultimatepp.org.
Re: Skylark uploaders [message #57617 is a reply to message #57563] Sun, 10 October 2021 03:06 Go to previous message
Lance is currently offline  Lance
Messages: 381
Registered: March 2007
Senior Member
Thanks for sharing. I am able to compile and run it on Windows. Somehow the uploading wasn't successful. Maybe it's because you are using a forked Skylark, maybe I haven't create the folder for uploaded file.

For linux system(unbutu), the behavior of Skylark is different from on Windows in that no terminal window for stdin/stdout is opened. Because of this behavior, your initizalization which requires input of master user name and password on server side at initial run will hold the server from going to listening stage indefinitely. You may want to instead allow user to create master user name and password on the client side if the user table is still empty.

[Updated on: Sun, 10 October 2021 03:14]

Report message to a moderator

Previous Topic: VideoPlayerCtrl using OpenGL + ffmpeg + portaudio
Goto Forum:

Current Time: Sun Dec 05 02:09:45 CET 2021

Total time taken to generate the page: 0.01367 seconds