Upload

Richard Gaskin ambassador at fourthworld.com
Wed Jul 24 01:53:01 EDT 2002


Simon Lord wrote:

> I have a great script that allows MetaCard to download a file
> from my server.  Now I need one to upload a file to the server.
> Does anyone have a stack with a sample script to do this?  Just
> a time saving question.

LibURL makes it easy:

  put <container> into url <ftpUrl>

e.g.:

 put "ftp://"& tUser&":"&tPword&"@"&tHost&"/"&tFileName &"/" into tDestUrl
 put url ("file:"&tLocalFile) into url tDestUrl


-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any Database on Any Site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list