On-Rev File Browser Upload Dialog

Rick Harrison harrison at all-auctions.com
Thu Oct 21 00:51:15 EDT 2010


Andre,

I'm just a little surprised that with as powerful as Rev is,
we are still forced to use the older solutions.

Thanks for the clarification anyway.

Rick

On Oct 20, 2010, at 3:45 PM, Andre Garzia wrote:

> Rick,
> 
> There is no way around this.
> 
> RevServer is not like the desktop engine, there is no GUI. Actually the
> whole web is like this, you communicate using stateless transactions
> exchanging what is basically text. What you do is send a form to the browser
> with the correct encoding and inputs and then you decode back this form.
> 
> check out a little document on the web called "HTTP made really easy" to
> understand more about the underlining protocol and then check out w3schools
> website on HTML, CSS and Javascript.
> 
> With the clear picture in mind, check out the MVC paradigm which is the one
> that maps better to RevServer with HTML/CSS/JS being the View and RevServer,
> the controller
> 
> On Wed, Oct 20, 2010 at 5:34 PM, Rick Harrison <harrison at all-auctions.com>wrote:
> 
>> Hi Matthias,
>> 
>> This is an interesting solution.  It uses a combination
>> of javascript, irev, etc..  I installed the code, and it doesn't
>> want to work just yet.  It's telling me that the form isn't
>> supported.
>> 
>> Looks like it will only work with a multi-part form?
>> I'll make one and try it again.
>> 
>> Any more documentation on this solution?
>> 
>> Anything solution using pure irev  or that's a little more simple out
>> there?
>> 
>> Thanks,
>> 
>> Rick
>> 
>> On Oct 20, 2010, at 12:11 PM, Matthias Rebbe wrote:
>> 
>>> Hi Rick,
>>> 
>>> there was something similiar by Magix.
>>> 
>>> Please find the example at the following url.
>>> 
>>> http://matthiasrebbe.eu/on-rev/upld-1.0.zip
>>> 
>>> hth,
>>> 
>>> Matthias
>>> 
>>> 
>>> Am 20.10.2010 um 17:08 schrieb Rick Harrison:
>>> 
>>>> I really don't want to re-invent the wheel today.
>>>> 
>>>> How can I get a simple file browser upload dialog
>>>> to upload a file using an irev script located at On-Rev.
>>>> 
>>>> I understand that I'll probably be using
>>>> libURLftpUploadFile for this.
>>>> 
>>>> If this were just a stack I'd be using:
>>>> 
>>>> answer file "Please choose the file to upload"
>>>> 
>>>> to generate the dialog.  As I understand it, 'answer'
>>>> just doesn't work for irev scripts.
>>>> 
>>>> This seems like such a basic need, that I can't
>>>> imagine that no one has done this before.
>>>> 
>>>> If you have any example code, that would be excellent.
>>>> 
>>>> Thanks in advance!
>>>> 
>>>> Rick
>>>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

__________________________________
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290





More information about the use-livecode mailing list