Re: Uploading a file using FTP

2017-06-18 Thread Terry Vogelaar via use-livecode
Matthias, thank you for your response.
I do have an Indy licence. There were 2 minor typo’s in line 18 of the script 
of button “upload” that resulted in sending the wrong data. I changed it from:
put URL ("binfile"& fld "ftp_file") into pData
to:
put URL ("binfile:"& fld "ftp_file") into pDat
Now the variable name corresponds with the one used in line 36 and it works 
like a breeze. Thank you


With kind regards,
Terry Vogelaar

> Terry, 
> are you using a commercial license of  LC 8 / 9, Indy or business?
> 
> If so, you could use tsNet external for your ftp uploader. See here 
>  for a sample stack which shows 
> how to use tsNet external for uploading using FTP
> Unfortunately the number of parameters changed for tsNetUploadSync between 
> the tsNet releases. So please check the dictionary of your LC version for 
> that function with the script  of the upload button (line 36).
> 
> My stack was successfully tested with LC 8.1.4.
> 
> Hope this helps.
> 
> Matthias
> 
> Matthias Rebbe
> +49 5741 31
> ?matthiasrebbe.eu ?
> 
>> Am 17.06.2017 um 09:20 schrieb Terry Vogelaar via use-livecode 
>> >:
>> 
>> I tried to create a FTP uploader in LC, so I followed the instructions on:
>> http://lessons.livecode.com/m/4071/l/6998-uploading-a-file-using-ftp 
>> 
>> Of course I changed the constants and the FTP domain to the appropriate 
>> settings and that is the only thing I changed. But I only get Status Update: 
>> error. No indication on what the error might be. 
>> 
>> How should I figure out what went wrong, without sharing my FTP credentials 
>> with the list?
>> 
>> 
>> 
>> With kind regards,
>> Terry Vogelaar




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Global - my experience

2017-06-18 Thread prothero--- via use-livecode
I suspect that "jumping to the good parts" is a major feature for some. I keep 
getting these ads that promise me very valuable, revealing, even shocking 
information, but I have to listen to 15 minutes of intro crap, then a pitch for 
a purchase. Needless to say, I don't waste time on it.
Bill P

William Prothero
http://es.earthednet.org

> On Jun 18, 2017, at 1:39 PM, Mike Kerner via use-livecode 
>  wrote:
> 
> or it's PR for "our pr0n producer customers wanted to make sure you
> couldn't jump to the good parts"
> 
> On Sun, Jun 18, 2017 at 11:54 AM, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> On 06/18/2017 07:41 AM, Jim Lambert via use-livecode wrote:
>> 
>> That peeved me, too.
>>> So I wrote to Webinarjam suggesting that the addition of a scrub bar on
>>> the playback video would be an immense improvement in user experience.
>>> 
>>> Adam from Webinarjam promptly replied:
>>> 
>>> Hi Jim,
 This feature has been disabled after numerous requests from users who
 wanted to ensure that their attendees got to see the full event. We are
 very sorry for the inconvenience however I would be happy to add your
 request to our list of feature requests.
 
>>> 
>>> Jim Lambert
>>> 
>> 
>> Heh. I know that kind of obfuscation. It's PR-speak for "we couldn't
>> figure out how to make it work, but the sales team said we had to ship it
>> anyway"
>> 
>> --
>> Mark Wieder
>> ahsoftw...@gmail.com
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Global - my experience

2017-06-18 Thread Mike Kerner via use-livecode
or it's PR for "our pr0n producer customers wanted to make sure you
couldn't jump to the good parts"

On Sun, Jun 18, 2017 at 11:54 AM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 06/18/2017 07:41 AM, Jim Lambert via use-livecode wrote:
>
> That peeved me, too.
>> So I wrote to Webinarjam suggesting that the addition of a scrub bar on
>> the playback video would be an immense improvement in user experience.
>>
>> Adam from Webinarjam promptly replied:
>>
>> Hi Jim,
>>> This feature has been disabled after numerous requests from users who
>>> wanted to ensure that their attendees got to see the full event. We are
>>> very sorry for the inconvenience however I would be happy to add your
>>> request to our list of feature requests.
>>>
>>
>> Jim Lambert
>>
>
> Heh. I know that kind of obfuscation. It's PR-speak for "we couldn't
> figure out how to make it work, but the sales team said we had to ship it
> anyway"
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server Installation

2017-06-18 Thread Richard Gaskin via use-livecode

Simon Smith wrote:

> I think it is worth saying that if you are wanting to host your own
> server online - it is well worth the pain of learning how to setup
> everything yourself.
>
> A control panel or a setup script would be great (my personal
> preference would be a setup script) - you do still need some
> experience to run a server online and trouble shoot any problems
> that can occur. Neglecting even something very small can have
> disastrous results - something I have learnt the hard way when I
> had a VPS hacked a many years ago. Learn the basic Linux commands,
> administer a firewall, use vim or nano to edit files, setup cron
> jobs, restart services, monitor resources, manage user rights,
> setup sftp or ftp, tweak mysql etc. You will be a better developer
> for it.

Good points, well said.

As I'm beginning to learn security forensics, I'm curious:  what was the 
entry point for that hack?  What did you learn from it, what do you do 
differently having experienced that?



> I am in the process of setting up a new Windows PC and still need to
> install a local web server and I also need to setup a new Linux server
> hopefully in the next day or two - I will document everything I do and
> share that - hopefully its of help.

A very generous offer, much appreciated.

For those of you excited at the prospect of managing a server, I found 
The Official Ubuntu Server Book by Kyle Rankin and Benjamin Mako Hill 
very helpful.  The 3rd Edition is coming out in August, but the 2nd 
Edition is quite relevant even now:



The free community documentation for Ubuntu is quite good too.  Here you 
can find the guides for Ubuntu server and desktop, and the server guides 
are available as HTML and PDF for both current LTS (Long-Term Support) 
releases, 14.04 and 16.04:



--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Global - my experience

2017-06-18 Thread Mark Wieder via use-livecode

On 06/18/2017 07:41 AM, Jim Lambert via use-livecode wrote:


That peeved me, too.
So I wrote to Webinarjam suggesting that the addition of a scrub bar on the 
playback video would be an immense improvement in user experience.

Adam from Webinarjam promptly replied:


Hi Jim,
This feature has been disabled after numerous requests from users who wanted to 
ensure that their attendees got to see the full event. We are very sorry for 
the inconvenience however I would be happy to add your request to our list of 
feature requests.


Jim Lambert


Heh. I know that kind of obfuscation. It's PR-speak for "we couldn't 
figure out how to make it work, but the sales team said we had to ship 
it anyway"


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server Installation

2017-06-18 Thread Simon Smith via use-livecode
I think it is worth saying that if you are wanting to host your own server
online - it is well worth the pain of learning how to setup everything
yourself.

A control panel or a setup script would be great (my personal preference
would be a setup script) - you do still need some experience to run a
server online and trouble shoot any problems that can occur. Neglecting
even something very small can have disastrous results - something I have
learnt the hard way when I had a VPS hacked a many years ago. Learn the
basic Linux commands, administer a firewall, use vim or nano to edit files,
setup cron jobs, restart services, monitor resources, manage user rights,
setup sftp or ftp, tweak mysql etc. You will be a better developer for it.

I am in the process of setting up a new Windows PC and still need to
install a local web server and I also need to setup a new Linux server
hopefully in the next day or two - I will document everything I do and
share that - hopefully its of help.

Simon

On Sat, Jun 17, 2017 at 2:23 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Malte wrote:
>
> > Richard wrote:
> >
> >> If someone has time to write a bash script that would be cool, though
> >> perhaps distro- and maybe even version-specific.  With bash you could
> >> download the latest LC Server, unzip it, enable CGI on Apache, alter
> >> the relevant Apache config to use LC Server for ".lc" files, and then
> >> test it to make sure it works.  It would be handy to have.
> >
> > Ok, I want this. Who does it? I am throwing $500 in the pot…
> > Someone also willing to write a .bat for Windows and maybe make the
> > Linux one work on Mac OS also???
>
> I'd do an initial version for that which would handle Ubuntu 14.04 and
> Ubuntu 16.04, under MIT so everyone can extend it for Mac and Windows if
> they need.
>
> Do we want VPS, or should we consider versions for shared hosts?  There
> are subtle differences between shared hosts that can make them more
> challenging, but the upside is they have pro admins hardening and
> monitoring so they're a better option for newcomers to get started.
>
> I could also write a script to harden a VPS, but doing it well requires
> using the script carefully, after setting up shared SSH keys, because I
> prefer to completely turn off password login on any system where I can.
>
>
> > This would save so much time and would make sure people who want to
> > fiddle with liveCode server does not need to go through the hassle of
> > needing to be a system pro. And for those who want to deploy open
> > source projects it would help a lot, as end users could easier install
> > everything themselves without needing to ask for help and without
> > needing to understand the technical underpinning…
>
> There's the rub:  we can automate setting things up, but without an
> understanding of what a server needs to be robust and secure then what
> happens with the LiveCode scripts it enables?
>
> Anything connected to the Internet implies a non-trivial level of
> responsibility.
>
> Enabling all the power of LiveCode to become accessible to the Internet is
> powerful, but automating it almost encourages cargo cult development (<
> https://en.wikipedia.org/wiki/Cargo_cult_programming>).
>
> With things that only run on your own local machine, cargo cult errors are
> trivial.  But with a machine connected to the Internet it may make the
> system compromised, perhaps in ways that would be difficult to detect.
>
> We should think carefully about this.
>
> For the amount proposed, I'd write a very good tutorial that would enable
> people to set it up themselves, and understand what each step is doing.
>
> I think over the life cycle of a server, that may be a better investment.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 

Carpe diem

*Simon Smith*
m. +27 83 306 7862
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: LC Global - my experience

2017-06-18 Thread Dan Brown via use-livecode
That is bonkers

On 18 Jun 2017 3:42 pm, "Jim Lambert via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> > Alex Tweedly wrote:
> >
> > the replay link gives you a web page showing the video and the scrolling
> > 'chat' alongside it. The video responds *only* to "pause" (and then to
> > "play") - there's no
> >  - rewind (say 30 seconds) if you got distracted
> >  - fast forward / backward
> >  - go directly to a point in time (e.g. if you have to switch devices)
>
>
> That peeved me, too.
> So I wrote to Webinarjam suggesting that the addition of a scrub bar on
> the playback video would be an immense improvement in user experience.
>
> Adam from Webinarjam promptly replied:
>
> > Hi Jim,
> > This feature has been disabled after numerous requests from users who
> wanted to ensure that their attendees got to see the full event. We are
> very sorry for the inconvenience however I would be happy to add your
> request to our list of feature requests.
>
> Jim Lambert
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Global - my experience

2017-06-18 Thread Jim Lambert via use-livecode
> Alex Tweedly wrote:
> 
> the replay link gives you a web page showing the video and the scrolling 
> 'chat' alongside it. The video responds *only* to "pause" (and then to 
> "play") - there's no
>  - rewind (say 30 seconds) if you got distracted
>  - fast forward / backward
>  - go directly to a point in time (e.g. if you have to switch devices)


That peeved me, too. 
So I wrote to Webinarjam suggesting that the addition of a scrub bar on the 
playback video would be an immense improvement in user experience.

Adam from Webinarjam promptly replied:

> Hi Jim,
> This feature has been disabled after numerous requests from users who wanted 
> to ensure that their attendees got to see the full event. We are very sorry 
> for the inconvenience however I would be happy to add your request to our 
> list of feature requests.

Jim Lambert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server Installation

2017-06-18 Thread Dan Brown via use-livecode
There's an excellent written & video tutorial by David Bovill on setting up
livecode server on a digital ocean VPS. It's very straightforward & I had
LC server up and running in 5 mins

http://david.bovill.me/ocean.admin.fedwiki.org/livecode-server-on-digitalocean

https://vimeo.com/131920147

On Sun, Jun 18, 2017 at 7:11 AM, Charles Warwick via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 18/06/2017 7:23 AM, Richard Gaskin via use-livecode wrote:
>
>> Malte wrote:
>>
>> > Ok, I want this. Who does it? I am throwing $500 in the pot…
>> > Someone also willing to write a .bat for Windows and maybe make the
>> > Linux one work on Mac OS also???
>>
>> I'd do an initial version for that which would handle Ubuntu 14.04 and
>> Ubuntu 16.04, under MIT so everyone can extend it for Mac and Windows if
>> they need.
>>
>> Do we want VPS, or should we consider versions for shared hosts? There
>> are subtle differences between shared hosts that can make them more
>> challenging, but the upside is they have pro admins hardening and
>> monitoring so they're a better option for newcomers to get started.
>>
>> I could also write a script to harden a VPS, but doing it well requires
>> using the script carefully, after setting up shared SSH keys, because I
>> prefer to completely turn off password login on any system where I can
>>
> In case it may help... you can take a look at a Docker image I wrote that
> builds Livecode server with Apache in a base Ubuntu environment.
>
> Specifically the Dockerfile (which builds the Docker image) is essentially
> just set of bash commands that builds everything that is needed.  The
> Apache config file used for the Docker image is also there.
>
> https://github.com/techstrategies/docker-livecode
>
> For those who know what Docker is (or want to try use it), the Docker
> image is available on hub.docker.com:
>
> https://hub.docker.com/r/techstrategies/livecode/
>
> Cheers,
>
> Charles
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: [ANN] Release 9.0.0 DP-7

2017-06-18 Thread Richmond Mathewson via use-livecode

Well, possibly fascinating from an intellectual point of view, but not much
cop when it comes to getting things done.

Richmond.

On 6/18/17 7:57 am, Sannyasin Brahmanathaswami via use-livecode wrote:

Fascinating… I tried upgrading LC server on our Ubuntu web server last year, 
and it would fail on some scripts and the only information was exactly that

exiting on signal 4

BR


  


On 6/15/17, 9:02 AM, "use-livecode on behalf of Richmond Mathewson via use-livecode" 
 wrote:

 Xubuntu 16.04 64-bit
 
 In the Terminal I get:
 
 exiting on signal 4
 
 not exactly descriptive I'm afraid.
 
 Richmond.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Server Installation

2017-06-18 Thread Charles Warwick via use-livecode

On 18/06/2017 7:23 AM, Richard Gaskin via use-livecode wrote:

Malte wrote:

> Ok, I want this. Who does it? I am throwing $500 in the pot…
> Someone also willing to write a .bat for Windows and maybe make the
> Linux one work on Mac OS also???

I'd do an initial version for that which would handle Ubuntu 14.04 and 
Ubuntu 16.04, under MIT so everyone can extend it for Mac and Windows 
if they need.


Do we want VPS, or should we consider versions for shared hosts? There 
are subtle differences between shared hosts that can make them more 
challenging, but the upside is they have pro admins hardening and 
monitoring so they're a better option for newcomers to get started.


I could also write a script to harden a VPS, but doing it well 
requires using the script carefully, after setting up shared SSH keys, 
because I prefer to completely turn off password login on any system 
where I can
In case it may help... you can take a look at a Docker image I wrote 
that builds Livecode server with Apache in a base Ubuntu environment.


Specifically the Dockerfile (which builds the Docker image) is 
essentially just set of bash commands that builds everything that is 
needed.  The Apache config file used for the Docker image is also there.


https://github.com/techstrategies/docker-livecode

For those who know what Docker is (or want to try use it), the Docker 
image is available on hub.docker.com:


https://hub.docker.com/r/techstrategies/livecode/

Cheers,

Charles

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode