realbasic-nug
[Top] [All Lists]

Re: Receiving attachments sent with REALbasic, in perl

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Receiving attachments sent with REALbasic, in perl
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Thu, 31 May 2007 12:49:03 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <mailman dot 21828 dot 1180548485 dot 256 dot realbasic-nug at lists dot realsoftware dot com> <65539CCD-71F7-4874-9E84-F8D5245CFDE8 at elfdata dot com>
So what is the variable name that RB sends the file with, when  
sending a file over an httpsocket?

Or maybe I'm better off just skipping RB's file attachment sender,  
seeing as I have no idea how to receive it on the other end? ANd  
there is no documentation telling me how to receive it?

I mean, in perl, I can do this:

my $SN = $query->param("SN");

But how do I receive the file?

Is it this?

my $File = $query->param("File");

Or what? RB does not tell me under which parameter name my file is  
being sent!

Maybe it's better I just send the file as a named param myself?

Like this:

dim d as new dictionary

d.value( "file" ) = myfile.Data() // .Data is an extends I made to  
read a file's data


At least this way, I know what is going on. Currently I am searching  
in the dark with no idea.


--
http://elfdata.com/plugin/
"String processing, done right"


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>