Jul 27
Jon Harris [LP8.6/WIN] Writing to a samba share
Jul 27, 2017; 12:44
Jon Harris
[LP8.6/WIN] Writing to a samba share
Hi
Hope I'm not breaking the silence... but,
I am running Lasso 8.6.3 on a windows server and I am trying to integrate with a nodeJS app running on a Centos box where I have created a samba share. On the windows box I created a mapped "Z:" drive, and tried to do a file_write to the z: drive but no luck (error 22). When I added and UNC style "\\mylinuxserver\sharename" to the file paths and then gave the site permissions, to the folder, still no luck.
I get "Permission to open the file was denied by Lasso security." Which looks like I haven't set up the folder up properly.
It struck me that I might have got the syntax of the share wrong. I never know whether to use forward slashes (web style) or backslashes (Windows) in the addresses, also "slashing off a slash" means I end with slashes everywhere.
This is my latest iteration:
var('thefilename') = "\\\\myserver.co.uk\\jon\\emailer\\miracle2.inc" ;
file_write( $thefilename, "if this works I will..", -fileoverwrite ) ;
Anyone get this working?
Any help appreciated.
Jon Harris
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Jul 27
Bil Corry Re: [LP8.6/WIN] Writing to a samba share
Jul 27, 2017; 07:34
Bil Corry
Re: [LP8.6/WIN] Writing to a samba share
Jul 27
Jon Harris RE: [LP8.6/WIN] Writing to a samba share
Jul 27, 2017; 15:17
Jon Harris
RE: [LP8.6/WIN] Writing to a samba share
Jul 27
Steve Piercy - Website Builder RE: [LP8.6/WIN] Writing to a samba share
Jul 27, 2017; 11:56
Steve Piercy - Website Builder
RE: [LP8.6/WIN] Writing to a samba share
Jul 28
Jon Harris RE: [LP8.6/WIN] Writing to a samba share
Jul 28, 2017; 09:15
Jon Harris
RE: [LP8.6/WIN] Writing to a samba share
Jul 28
Steve Piercy - Website Builder RE: [LP8.6/WIN] Writing to a samba share
Jul 28, 2017; 03:13
Steve Piercy - Website Builder
RE: [LP8.6/WIN] Writing to a samba share