cgi and ftp

Andre Garzia soapdog at mac.com
Wed Jul 21 11:14:42 EDT 2004


Maxence,

you must include libURL for that to work, also, I don't know if libURL 
will be available at startup, you should check the documentation, you 
can move your commands to a "later" handler in the command line like 
openstack of your card...

cheers
andre



On Jul 21, 2004, at 11:15 AM, maxence.bernard at ensi-bourges.fr wrote:

> Hello,
>
> I have a cgi application that calls a stack. Inside this stack, I have 
> to
> upload a file in a ftp server. I used to do, in another stack :
>
> libURLftpUploadFile myFile,"ftp://192.168.1.1/hello/hello"
>
> But now that I am in a cgi, this command doesn't work anymore 
> ("Execution
> error"). I tried to insert the revlibrary.rev file from "components/
> global environment" in my stack (this file is supposed to contain the
> Internet library, isn't it?), by doing,
>
> on startup
> [...]
> library "components/global environment/revlibrary.rev"
> [...]
> end startup
>
> But it doesn't work also.
> I tried at the end to add:
>
> send "openBackground to this stack" but it makes an execution error 
> too.
>
> Has anybody an idea on how can we upload by ftp in a cgi application?
>
> Maxence BERNARD
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-- 
Andre Alves Garzia ð 2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org



More information about the use-livecode mailing list