Re: Overwriting a file on a server

2018-03-07 Thread Graham Samuel via use-livecode
Hi Bob Yes, that works - since the file is tiny, just trying to download it and seeing what you get works too (not a good strategy in general, I agree). The problem was the overwriting of the file - Richard G and other folks have pointed out that it would be extremely dangerous in the whole

Re: Overwriting a file on a server

2018-03-06 Thread Bob Sneidar via use-livecode
Oh, by server, you mean WEB server. NVM. Bob S > On Mar 6, 2018, at 19:42 , Bob Sneidar via use-livecode > wrote: > > [This message was identified as a phishing scam. Learn about phishing at > http://aka.ms/LearnAboutPhishing] > > if there is a file? > > Bob

Re: Overwriting a file on a server

2018-03-06 Thread Bob Sneidar via use-livecode
if there is a file? Bob S > On Mar 5, 2018, at 05:04 , Graham Samuel via use-livecode > wrote: > > How can I grow my own, by detecting the existing file and then overwriting it > anyway? ___ use-livecode mailing

Re: Overwriting a file on a server

2018-03-06 Thread Charles Warwick via use-livecode
Hi, > Graham Samuel wrote: > >> However, I don’t seem to be able to mimic what my FTP software >> (Transmit on the Mac, or FileZilla) can do, which is to easily delete >> a file on a server - the file in question is part of a web site >> hosted by DreamHost. I just want to use the URL

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
In case anyone was holding their breath, I have just realised that the data I wanted to store on the server can be stored elsewhere (in the application data area, as a property of a stack). So I won’t be in such a hurry to learn this stuff, though I know its value and will do so eventually.

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
OK, I’ll be looking at it: I was not planning to use LiveCode server for this task, although as a matter of fact I do have a copy on the site in question for other purposes. Thanks to you and to Richard G. I’ll report back when I’ve sorted it out. Graham > On 6 Mar 2018, at 17:38, Mike Bonner

Re: Overwriting a file on a server

2018-03-06 Thread Mike Bonner via use-livecode
The specific lesson for lc server file uploads is here: http://lessons.livecode.com/m/4070/l/40708-how-to-upload-a-file-with-livecode-server but as mentioned, setup https first! On Tue, Mar 6, 2018 at 9:33 AM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Graham

Re: Overwriting a file on a server

2018-03-06 Thread Richard Gaskin via use-livecode
Graham Samuel wrote: > However, I don’t seem to be able to mimic what my FTP software > (Transmit on the Mac, or FileZilla) can do, which is to easily delete > a file on a server - the file in question is part of a web site > hosted by DreamHost. I just want to use the URL functionality to do >

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
More wisdom from Charles, sincere thanks! However, I don’t seem to be able to mimic what my FTP software (Transmit on the Mac, or FileZilla) can do, which is to easily delete a file on a server - the file in question is part of a web site hosted by DreamHost. I just want to use the URL

Re: Overwriting a file on a server

2018-03-06 Thread Charles Warwick via use-livecode
Hi Graham, > On 5 Mar 2018, at 11:04 pm, Graham Samuel via use-livecode > wrote: > > Another dumb question, I’m afraid. The dictionary says I can do > > put tdata into URL [some url] > > well, I want to put a file on my server (in this example, it’s a text

Overwriting a file on a server

2018-03-05 Thread Graham Samuel via use-livecode
Another dumb question, I’m afraid. The dictionary says I can do put tdata into URL [some url] well, I want to put a file on my server (in this example, it’s a text file) to replace one of the same name. If I just try to steamroller it by ignoring the existing file, I get a ‘405’ error