Confirming an FTP Upload
AcidJazz
mpezzo at gmail.com
Tue Dec 6 12:07:31 EST 2011
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.
More information about the use-livecode
mailing list