Can't retrieve a text file from a remote CGI folder

stephen barncard stephenREVOLUTION2 at barncard.com
Wed Apr 10 22:52:30 EDT 2013


I think the cgi folder is special (read only) to Apache for security by
design. I've never been able to write to it except by FTP.  But I didn't
try that hard ....


On Wed, Apr 10, 2013 at 7:37 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:

> On 4/10/13 6:48 PM, Dave Cragg wrote:
>
>  Does it make a difference if you put another cr after the header?
>>
>> on startup
>>   open file "log.txt" for append
>>   write "this is a test" & cr to file "log.txt"
>>   close file "log.txt"
>>   put "Content-Type: text/plain" & cr
>>   put cr
>>   put "done writing"
>> end startup
>>
>
> Oh geez. Yeah, it does. I've been at this so long I can't read any more.
> Thanks.
>
> Maybe you can tell me what's wrong with this then? Sent from a stack on my
> Mac:
>
> put "http://NAME:PASS@**hyperactivesw.com/cgi-bin/log.**txt<http://NAME:PASS@hyperactivesw.com/cgi-bin/log.txt>"
> into tURL
> put url tUrl into fld 1
>
> Is it that you can't directly read text files from the cgi folder? I don't
> usually do that, but someone else had the same problem so I started testing
> it.
>
>
> --
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.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<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