form command and printer file "nameoffile"

Dennis Malen dmalen at malen.com
Tue May 15 10:53:41 PDT 2012


Thanks Ken! Stupid mistake. I added the file name "/tmp"

Did not get an error but the form did not populate the file. I got the
following:

-rw-rw-rw-    1 filepro  staff             0 May 15 13:37 nomjudg.txt


-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at spamcop.net] 
Sent: Tuesday, May 15, 2012 1:40 PM
To: Dennis Malen
Cc: 'FilePro List'
Subject: Re: form command and printer file "nameoffile"

On 5/15/2012 1:09 PM, Dennis Malen wrote:
> Here is what I got:
>
> *** A System Error Has Occurred ***
>
> On File: nomjudg.txt
>
> Input Processing
> Line Number: 239
> Permission denied
>
> Line 239: form "affatty";printer file "nomjudg.txt"

That won't do what you want.

> I also tried: printer file "nomjudg.txt"; form "affatty"

That will send the form to the file "nomjudg.txt" in the current directory.

> Not sure how I would give filepro additional permission to create a 
> file in /tmp. I have always been able to export and create files in /tmp.

Unless your system is greatly broken, you still can.  However, what makes
you think that the file is going to be created in the "/tmp" directory?

> I also went into /tmp and created a file "nomjudg.txt" and used chmod 
> 777 just in case. That would be full read write and execute.

Irrelevant if you're not having filePro create the file in "/tmp" in the
first place.

[...]

--
Kenneth Brody



More information about the Filepro-list mailing list