It is currently Wed Apr 26, 2017 10:31 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Jul 23, 2011 3:31 am 
Offline
Site Admin
User avatar

Joined: Fri May 06, 2011 1:33 am
Posts: 2012
Shared programs should be uploaded to the BASIC! program library via FTP.

There are many free FTP clients available on the Android Market. Download one of these and you can FTP your programs directly from your Android Device.

The URL is ftp.laughton.com.
The user name is: basic
The password is: basic

Other settings:

port = 21
protocol = FTP (not SCP or SFTP)
no encryption

The filenames that you upload should have the the ".bas" extension.
Once you have uploaded the file, you can announce it here.
Give the description of program and its file name here in this forum.

You can now upload programs directly from BASIC! using BASIC!'s FTP commands.

Code:
ftp.open "ftp.laughton.com",21,"basic","basic"
ftp.put "../source/name.bas","name.bas"
ftp.close


Downloading programs

You can explore the programs in the FTP directory from your browser:
http://laughton.com/basic/programs/

The following program can be used to download these programs to your Android device. The example assumes that there is an uploaded program named "bounce.bas" (which there is).

Code:
filename$="bounce.bas"
source_path$ = "http://laughton.com/basic/programs/"
dest_path$ = "../source/"

byte.open R, FN, source_path$+filename$
byte.copy FN, dest_path$ + filename$
byte.close
end


Alternatively, you can download programs using BASIC!s FTP commands although this method is probably slower than the above method.

Code:
ftp.open "ftp.laughton.com",21,"basic","basic"
ftp.get "name.base","../source/name.bas"
ftp.close


Another easy way to download/upload files from/to the FTP Server is using the program RFO FTP Store
Details on this program can be found here: http://rfobasic.freeforums.org/rfo-basic-ftp-store-v1-4-t871.html

Directory Structure of the FTP Server

Latest Directory Structure is:

Imageapplications
Imagebeta-test
Imagedocumentation
Imagegames
Imagehtml
Imagelibraries
Imageother
Imagetools
Imageutilities
readme_BrokenLink-Error.txt
readme_Uploading.txt



readme_Uploading.txt:
Quote:
Do not place any programs on the root of the ftp server!
Use the appropriate folder to place your program.
Optionally add a readme file, a screenshot and the .apk.
Don't forget to put a link to your program inside your post.


readme_BrokenLink-Error.txt:
Quote:
Broken links/other problems should be reported to user: tony_gr
Login in rfobasic.freeforums.org, and send a Private Messagge (PM) from the user control panel.


Last edited by jMarc on Sat Oct 10, 2015 12:09 pm, edited 12 times in total.
Corrected link.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/23/11)
Unread postPosted: Sat Jul 23, 2011 4:25 am 
Offline
User avatar

Joined: Thu May 26, 2011 3:52 pm
Posts: 282
Using FTP on laughton.com is a great idea!
I will test in the evening...
Oliver

UPDATE:
Yes, very nice. I have updated my samples "Pointy Labyrinth" and
one player mode of "Rock Paper Scissors" with download links.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/23/11)
Unread postPosted: Sat Jul 23, 2011 5:28 am 
Offline
User avatar

Joined: Thu May 26, 2011 3:52 pm
Posts: 282
Thinking about a little Download Helper like

! rem dl helper

input "Type the filename to download (with .bas)", filename$,".bas"

byte.open R , rf, "http://laughton.com/basic/programs/" + filename$
byte.copy rf, "../source/" + filename$

print "File should be installed. Please load via menu..."

pause 1000

end


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/30/11)
Unread postPosted: Sat Nov 26, 2011 9:31 am 
Offline

Joined: Sat Nov 26, 2011 9:17 am
Posts: 1
hi. im interes to add in may proggram sum textbos
wat is the wey todo ?


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/30/11)
Unread postPosted: Sat Nov 26, 2011 1:59 pm 
Offline
Site Admin
User avatar

Joined: Fri May 06, 2011 1:33 am
Posts: 2012
Orpaz, the details for uploading programs are in the first post of this thread.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/30/11)
Unread postPosted: Tue May 22, 2012 9:39 am 
Offline

Joined: Tue May 22, 2012 9:35 am
Posts: 2
is it possible to download the lot using ftp? I only see an incoming directory :(


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (7/30/11)
Unread postPosted: Tue May 22, 2012 3:46 pm 
Offline
Site Admin
User avatar

Joined: Fri May 06, 2011 1:33 am
Posts: 2012
"download the lot"

You mean download each and every file with one command?

I don't think you can do that, but try dload_helper_plus2a.bas

It makes downloading easy.


Report this post
Top
 Profile  
 
 Post subject: FTP site and Changes to this forum
Unread postPosted: Thu Jun 14, 2012 12:30 pm 
Offline
Site Admin
User avatar

Joined: Fri May 06, 2011 1:33 am
Posts: 2012
I have asked tony_gr to rearrange the FTP site

I have asked technorobbo to rearrange this forum.


Report this post
Top
 Profile  
 
 Post subject: Re: FTP site and Changes to this forum
Unread postPosted: Thu Jun 14, 2012 2:35 pm 
Offline
User avatar

Joined: Mon Oct 17, 2011 9:34 am
Posts: 891
First of all, to all users that have posted a shared program:
- If this is not running with the actual RFO BASIC! Version, please
do the necessary modifications.
- If you have a program that -for some reason- isn't useful any more, please delete it.
- If you have a program that requires more than one file, please place it in a new directory.
- If you want, write a readme for your prog, upload a screenshot, and optionally the .apk.
(this will be very useful when we'll create a Basic app store :mrgreen: )
You may PM me for your ideas!

[Antonis]

_________________
Check out my RFO Basic! apps & games: Image, on Google Play Store! Slide me!, Amazon, or AppsLib!


Report this post
Top
 Profile  
 
 Post subject: Re: FTP site and Changes to this forum
Unread postPosted: Mon Jun 18, 2012 9:39 am 
Offline
User avatar

Joined: Mon Oct 17, 2011 9:34 am
Posts: 891
The new ftp structure is up and running!
The new structure will coexist with the old one
for some days till i correct the links to the programs.
The new structure is:

[applications]
[beta-test]
[documentation]
[games]
[html]
[other]
[tools]
[utilities]
readme_BrokenLink-Error.txt
readme_Uploading.txt

From now on you should be posting your programs using
the new ftp structure. Actually contains all programs
posted in this forum, and more.

** Programs not located in these folders will soon be deleted! **

* Some programs posted had only a listing inside the post.
I've created the .bas files and inserted them into the
appropriate directory.
* Many programs didn't work, coz the rnd command has
been changed. I edited those programs.
* I added a readme file for all programs.
This one contains the Url of the topic of the program post.
* Added some screenshots.

readme_Uploading.txt
Quote:
Do not place any programs on the root of the ftp server!
Use the appropriate folder to place your program.
Optionally add a readme file, a screenshot and the .apk.
Don't forget to put a link to your program inside your post.


readme_BrokenLink-Error.txt
Quote:
Broken links/other problems should be reported to user: tony_gr
Login in rfobasic.freeforums.org, and send a Private Messagge (PM) from the user control panel.

_________________
Check out my RFO Basic! apps & games: Image, on Google Play Store! Slide me!, Amazon, or AppsLib!


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred