cgi and ftp

maxence.bernard at ensi-bourges.fr maxence.bernard at ensi-bourges.fr
Thu Jul 22 05:35:00 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

I created a test stack :

#!Hp9k700
on startup
start using stack "./liburl.rev"
send "openStack" to me in 1 seconds
end startup

on openStack
send "toto" to me in 1 seconds
end openStack

on toto
libURLftpUploadFile "file.txt","ftp://192.168.0.1/g.txt"
end toto

I encounter an "Script execution error" at the line of
"libURLftpUploadFile". But I followed your advice of inserting libUrl and
doing the upload after "startup" (as you can see in the script). What is
the problem ?

Thanks in advance.

Maxence BERNARD



More information about the use-livecode mailing list