download and save a file
Alex Tweedly
alex at tweedly.net
Sat May 28 10:22:21 EDT 2011
Or you could pick up Andre's FTPCommander (on revonline) and have a
working stack to start with, but all the fun of making additions and
changes if you want.
-- Alex.
On 28/05/2011 11:17, Francis Nugent Dixon wrote:
> Hi from Beautiful Brittany,
>
> Now I am confused !
>
> As Richard says : It's fun to do it in LiveCode,
> so, even though I use CyberDuck regularly
> (what a beautiful app !), I thought it would be
> fun to write a little stack in LiveCode for Upload
> and Download. After all, "LiveCoding" IS fun !.
> I found documentation on the Internet which
> indicated for an FTP Upload :
>
> put "ftp://" & FTPUSER & ":" & FTPPASS & "@"
> & "ftp.ben.on-rev.com/public_html/" & tFileName into tDestination
> libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete"
>
> This seemed reasonable to me, as CyberDuck uses
> similar parameters.
>
> Now Richard points me to a document which says :
>
> put "ftp://ftp.xxxxxx.com/uploads/" & tFileName into tUrl
> libUrlFtpUploadFile tSourcePath, tUrl, "loadDone"
>
> Does this mean that we have two Upload options :
>
> 1 - Check me for authorization, and Upload if I'm square !
> or
> 2 - Just DO IT !
>
> If this is true, why would I bother with the complications
> of method 1, when I obviously know what I'm doing if
> I use method 2 in a LiveCode app ?
>
> -Francis
>
> "Nothing should ever be done for the first time !"
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list