Confirming an FTP Upload

stephen barncard stephenREVOLUTION2 at barncard.com
Tue Dec 6 12:09:32 CST 2011


You should know that the password and username are sent as plain text and
can be easily sniffed.  This is NOT secure FTP and can expose an entire
account.  Create a special FTP space for this purpose, not your website.

Secure FTP is a long-awaited feature that is still not available in
livecode except with externals.

sqb

On 6 December 2011 09:07, AcidJazz <mpezzo at gmail.com> wrote:

> Greg,
>  Here's how I submit data using the Put URL approach...
>
>
> *put *DataToBeSaved into URL
> ("ftp://username:password@ftp.sitename.com/filename.txt")
> *If* the result is not empty *then*
>        hide field "wait"
>        answer the result &CR& "Oops!  There was a problem saving your
> response.  Please wait a minute and try again."
>        *exit* mouseup
> *end* if
>
>
> You can also read back the data that you just saved...
>
> *get *URL ("http://www.sitename.com/filename.txt")
>    *put *it into tData
>    *answer *"Your data has been stored on the server and then retrieved." &
> CR & "It looks like this:" &CR&CR& the last line of tData
>
>
>
>
> Cheers,
>   Mark
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165561.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>


More information about the use-livecode mailing list