Possible to update a text file located on my server?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Possible to update a text file located on my server?
Trying to find an example of this, but can't. What I'm trying to do is to update a file on my server with my stack.
Example:
1. I have a text file on my on-rev account (mileage.txt)
2. Right now the text file would read:
12
2322
4222
7409
10080
14292
17444
20983
24554
3. I'd like to simply use my LC app to update it.
Any help is very much appreciated and may save me a few more hours of headache. Thanks.
Example:
1. I have a text file on my on-rev account (mileage.txt)
2. Right now the text file would read:
12
2322
4222
7409
10080
14292
17444
20983
24554
3. I'd like to simply use my LC app to update it.
Any help is very much appreciated and may save me a few more hours of headache. Thanks.
Re: Possible to update a text file located on my server?
Hi Shawn,
I'm not allowed to say "use ftp" because it's very very bad, bad bad security. So don't use ftp.
There is this:
http://forums.livecode.com/viewtopic.php?f=8&t=19144
But that is more complicated because it's made for mobile, it does work with desktop. It will show you some of the steps involved.
CGI stuff (ugh), I'm sure you could write something in liveCode since you are using on-rev.
Simon
I'm not allowed to say "use ftp" because it's very very bad, bad bad security. So don't use ftp.
There is this:
http://forums.livecode.com/viewtopic.php?f=8&t=19144
But that is more complicated because it's made for mobile, it does work with desktop. It will show you some of the steps involved.
CGI stuff (ugh), I'm sure you could write something in liveCode since you are using on-rev.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Possible to update a text file located on my server?
Simon, what's your opinion if my splash screen is calling my stack on the server and using FTP? Still bad ?Simon wrote:Hi Shawn,
I'm not allowed to say "use ftp" because it's very very bad, bad bad security. So don't use ftp.
There is this:
http://forums.livecode.com/viewtopic.php?f=8&t=19144
But that is more complicated because it's made for mobile, it does work with desktop. It will show you some of the steps involved.
CGI stuff (ugh), I'm sure you could write something in liveCode since you are using on-rev.
Simon
Re: Possible to update a text file located on my server?
The problem is that the username and password can be intercepted, then that folder and all it's subfolders are free for them to use. We're all waiting on SFTP.
If it's just personal stuff, and that txt file is all there is, then ok.
Never ever in a product.
Simon
If it's just personal stuff, and that txt file is all there is, then ok.
Never ever in a product.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Possible to update a text file located on my server?
Simon wrote:The problem is that the username and password can be intercepted, then that folder and all it's subfolders are free for them to use. We're all waiting on SFTP.
If it's just personal stuff, and that txt file is all there is, then ok.
Never ever in a product.
Simon
Gotcha. Thanks.
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Possible to update a text file located on my server?
Does "calling" mean uploading or downloading? If that latter, HTTP is very efficient.shawnblc wrote:Simon, what's your opinion if my splash screen is calling my stack on the server and using FTP? Still bad ?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Possible to update a text file located on my server?
Would be calling. Using go stack.FourthWorld wrote:Does "calling" mean uploading or downloading? If that latter, HTTP is very efficient.shawnblc wrote:Simon, what's your opinion if my splash screen is calling my stack on the server and using FTP? Still bad ?