On-Rev File Browser Upload Dialog

Andre Garzia andre at andregarzia.com
Wed Oct 20 15:45:40 EDT 2010


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.



More information about the use-livecode mailing list