LC Server permissions

Rick Harrison harrison at all-auctions.com
Sat Apr 13 20:35:35 EDT 2019


Hi Richard,

Sorry for the confusion.

I use Postgresql just to store the names of the uploaded
files, not the images themselves.  The images just reside
within a folder.  LC is the middleware between Apache
and Postgresql.

I hope that helps.

Rick

> On Apr 13, 2019, at 2:54 PM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Rick Harrison wrote:
> > I am running Postgresql to handle the incoming data.  I have a user
> > and a password set up for that.
> 
> I don't understand. Your original post was:
> 
> > I have a file I need to upload to my LC server
> > using the $_Files[uploadedfile][error] method
> > that requires the correct permissions to be
> > able to move and rename the file using:
> >
> > put URL ("binfile:" & tFilePath) into URL ("binfile:" & tNewFilePath)
> >
> > I get "can't open file (13)” which is a permissions error.
> 
> 
> Are you writing a file to disk, or submitting a DB transaction?  Do you have postGres handling your HTTP, with nothing in the middle (PHP, Python, LC, etc)?
> 
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com                http://www.FourthWorld.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





More information about the Use-livecode mailing list