Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: fgl_getfile & error -8066  (Read 10529 times)
Sally W.
Posts: 4


« on: April 16, 2018, 10:34:09 am »

I have code that works for me, another user tried to use it, when an attempt was made to transfer the file to the server it failed with STATUS set to error -8066.  Originally it did that for me as well but the error 'went away'.  I can't find what error -8066 means.
Reuben B.
Four Js
Posts: 1047


« Reply #1 on: April 16, 2018, 10:39:38 am »

Did you try this page, it documents the BDL errors http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/r_fgl_errors_001.html

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Sally W.
Posts: 4


« Reply #2 on: April 16, 2018, 07:29:06 pm »

Thanks I'd not managed to find that page
Reuben B.
Four Js
Posts: 1047


« Reply #3 on: April 17, 2018, 12:44:11 am »

For any Genero error number, you should be able to type that number into the documentation search tool (online, Studio, or PDF), and it should return an entry. 

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Nuno G.
Posts: 14


« Reply #4 on: April 19, 2018, 12:38:10 pm »

check umask and file permissions at the destinattion dir.
Sally W.
Posts: 4


« Reply #5 on: April 23, 2018, 03:32:50 pm »

OK, target directory is drw-rw-rw, and umask for the user in question is 0000.  I'm not sure that this should cause a problem.  However I think we have a different and better solution which means she won't have to do anything at all - the file will get loaded by the people who create it (who were emailing it to her) and a script will pick it up and send it to the program which processes it.  :)
Nuno G.
Posts: 14


« Reply #6 on: May 02, 2018, 10:31:42 am »

You can also use os.path.chmod(...) method and change the file permissons at creation time.
Sally W.
Posts: 4


« Reply #7 on: May 02, 2018, 03:07:21 pm »

I believe I had to be able to copy the file from the PC to the Unix box before I can use os.path.chmod(...).  Anyway changed how it will be done so no copying from the PC is required.  Thanks all.
Nuno G.
Posts: 14


« Reply #8 on: May 02, 2018, 03:13:17 pm »

I assumed you were creating the file on the server side. If that's not the case then yes, you area right. os.path.chown only on the server side
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines