It is currently Fri Apr 28, 2017 10:36 pm



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 Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Tue Oct 09, 2012 8:07 pm 
Offline

Joined: Mon Aug 20, 2012 9:42 pm
Posts: 47
tony_gr wrote:
Quote:
My only problem with is, we cannot create directories.

My program allows you to create a subdirectory to upload your files.

I am not sure how,as I don't see any option to create one, please explain.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Wed Oct 10, 2012 12:09 pm 
Offline
User avatar

Joined: Mon Oct 17, 2011 9:34 am
Posts: 891
First, you select "upload fies". You will be prompted to select your files from the
source directory and the data directory.
Image

Then you will choose one of the main categories for your files:
Image

Last, you will be prompted to give a directory name for your app's files.
If this already exists, it will not be created:
Image

Hope it's clear now.

_________________
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: Shared Program Instructions (8/3/12)
Unread postPosted: Wed Oct 10, 2012 6:12 pm 
Offline

Joined: Mon Aug 20, 2012 9:42 pm
Posts: 47
Yep, thank you.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Nov 03, 2012 12:21 pm 
Offline

Joined: Mon Oct 01, 2012 9:43 am
Posts: 108
Mainly to Tony_gr. Have installed the RfoFtpStore app. Congratulations on a great app! When trying to upload a file, it asks for the name of a directory. Does that mean one of the category names? A game program goes in "GAMES?" Thank you.


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Nov 03, 2012 4:40 pm 
Offline
User avatar

Joined: Mon Oct 17, 2011 9:34 am
Posts: 891
Hi!
Program asks you for category name, this corresponds to a main directory on the ftp server.
That is "games" for a game. After that it asks you the name of yours game directory name
to be created.
It will create the directory "yourgame" inside "/games" i.e "/games/yourgame/" and will upload
all your files inside /games/yourgame/.

_________________
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: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Nov 03, 2012 5:23 pm 
Offline

Joined: Mon Oct 01, 2012 9:43 am
Posts: 108
Thanks, tony_gr. I'll try uploading it again.


Report this post
Top
 Profile  
 
 Post subject: Sliding Puzzle
Unread postPosted: Sat Jan 03, 2015 12:52 pm 
Offline

Joined: Mon Oct 22, 2012 7:32 am
Posts: 130
Quick little program to test your skill at getting all the blocks in order..
Enjoy!! :D

Code:
dim a[16]
html.open
html.clear.cache

setup:
for i = 0 to 15
a[i+1] = i
next i
array.shuffle a[]

shoBoxes:
h$="<html><head><script>function doDataLink(data){Android.dataLink(data);}</script><title>Slider</title></head><body>" +~
"<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>"
for i = 1 to 16
  if mod(i,4) = 1 then h$ = h$ + "</TR><TR>"
  if a[i] <> 0 then
    h$ = h$ + "<TD><input type=button value='"+format$("##",a[i])+"' style='background-color:wheat; font-size:36px; width:100px;  height:60px' "+"'  onClick=\"doDataLink('"+str$(i)+"')\"></TD>"
   else
    h$ = h$ + "<TD></TD>"
  endif
next i
h$ = h$ + "</tr><TD align=center colspan=4>" +~
"<input type=button value='Restart'     onClick=\"doDataLink('res')\"/>" +~
"<input type=button value='Exit'    onClick=\"doDataLink('ext')\"/>" +~
"</table></body></html>"

gosub userInput
tryAgain:
if left$(data$,4) = "BAK:" then end
if is_in("ext",data$) > 0 then end
if is_in("res",data$) > 0 then goto setup
loc$ = mid$(data$,5)
loc = val(loc$)
x = -1
if (loc >  1) then
if (a[loc -1] = 0) then goto moveBox
endif
x = 1
if (loc < 16) then
if (a[loc +1] = 0) then goto moveBox
endif
x = -4
if (loc >  4) then
if (a[loc -4] = 0) then goto moveBox
endif
x = 4
if (loc < 13) then
if (a[loc +4] = 0) then goto moveBox
endif
popup "Illegal move - try again",0,0,0
gosub userInput1
goto tryAgain

moveBox:
temp   = a[loc]
a[loc]    = a[loc + x]
a[loc +x] = temp

for i = 1 to 15
if i <> a[i] then goto shoBoxes
next i
html.clear.cache
popup "** WINNER **",0,0,0
goto setup

userInput:
html.load.string h$
userInput1:
data$ = ""
do
  html.get.datalink data$
  pause 250                             % pause 1/4 sec
until data$ <> ""
RETURN


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Wed Oct 07, 2015 11:46 pm 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1317
Hi tony

Could the recently created 'Libraries' folder be added to the ftp structure
[applications]
[beta-test]
[documentation]
[games]
[html]
[other]
[tools]
[utilities]
readme_BrokenLink-Error.txt
readme_Uploading.txt

Thanks Roy


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Oct 10, 2015 9:59 am 
Offline

Joined: Wed Oct 03, 2012 9:53 am
Posts: 2795
Location: Colorado, U.S.
I'm sorry, Roy, I don't understand the question. Are you asking for a change in tony_gr's RfoFtpStore app?

I haven't seen Antonis in many months. A search shows only four posts since September 2014, the last in January.

Someone else can fix the app and the apk on Paul's FTP server, but only Antonis can update the app on the Google Play Store.

I'm not sure what happened, or when, but there was a lot of clutter on the FTP server. I cleaned it up. Let me know if there is more somewhere else that I missed.

- Marc


Report this post
Top
 Profile  
 
 Post subject: Re: Shared Program Instructions (8/3/12)
Unread postPosted: Sat Oct 10, 2015 10:51 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1317
Hi Marc

On the first page of this topic all the folders are listed, except the recently created 'Libraries' folder. People can click on them and see what's in them, except the 'Libraries' folder because it not listed and no one will know it's there.

So I was hoping it could be added say at the bottom under the [utilities] folder

Sorry that my first post wasn't clear.

Thanks Roy


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


Who is online

Users browsing this forum: No registered users and 0 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:  
cron
suspicion-preferred