Max Upload Size

General FreeBASIC programming questions.
Post Reply
albert
Posts: 6000
Joined: Sep 28, 2006 2:41
Location: California, USA

Max Upload Size

Post by albert »

Hello;

Whats the maximum size bytes you can post in Forum\Projects?

I came out with a new version of Vari_Cyph. The source code is about 30 KiloBytes..
I want to know if i have to break it into several posts??
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: Max Upload Size

Post by Tourist Trap »

Hi Albert, I don't know the exact answer, but here is an example where I had to split my post in 2 parts. It may give you a first idea maybe.
viewtopic.php?p=255599#p255599
srvaldez
Posts: 3373
Joined: Sep 25, 2005 21:54

Re: Max Upload Size

Post by srvaldez »

the post limit is 64000 characters, or is it bytes? not sure which, but my guess is that you would probably be able to post your code in one post.
albert
Posts: 6000
Joined: Sep 28, 2006 2:41
Location: California, USA

Re: Max Upload Size

Post by albert »

@Srvaldez

Thanks for the info...

It posted the whole 30K source... See board \Projects Vari_Cyph_FB_V_14
counting_pine
Site Admin
Posts: 6323
Joined: Jul 05, 2005 17:32
Location: Manchester, Lancs

Re: Max Upload Size

Post by counting_pine »

Once a project gets this sort of size, and you want to make the source public, it would generally be a good idea to store it in an online repository (e.g. Bitbucket, GitHub or GitLab), which have lots of advantages to pasting into a forum:
- the code can be shared, and a link provided to the forum, or elsewhere
- there are no impractical size limits
- syntax highlighting is supported for many languages
- the code can be split across multiple files
- it is possible to change the code and track the changes between each revision
- offline code can easily be kept in sync with online repositories
- it is easier for other people to make and share changes to the code
- if the forum goes down or suffers a database error, the code is not lost
marcov
Posts: 3455
Joined: Jun 16, 2005 9:45
Location: Netherlands
Contact:

Re: Max Upload Size

Post by marcov »

sourceforge.net still offers SVN repositories btw!
BasicCoder2
Posts: 3906
Joined: Jan 01, 2009 7:03
Location: Australia

Re: Max Upload Size

Post by BasicCoder2 »

I noticed Landeel used drive.google.com/ which for some reason pops up a "Oops! There was a problem with the network" message but it still downloads the .zip file

Pitto used github.com which lists all the files and which you can download as a .zip file
albert
Posts: 6000
Joined: Sep 28, 2006 2:41
Location: California, USA

Re: Max Upload Size

Post by albert »

@Tourist Trap

Besides here.. I post my projects of finished programs to sourceforge

It would be nice , if you could post *.zip files , here in the FB forums.

For my "Huh-Yuh" language , i need to post 352 , *.pft files , for the font buttons.. The *.pft = Picto-Font files.
As is ; i'd have to make 352 posts.. It would be easier to just attach a *.zip file of the pft's.

So I just might put a link to the .pft , *.zip file here in the projects section of the forum..

So you copy and compile the Huh-Yuh.bas and ToolTip.bas and then download and extract the *.pft zip file to the \Huh-Yuh\Font" dir.
Post Reply