Caner.B
10th July 2002, 16:06
Hi,
When we select ascii file as output for a report ,it creates the asci file on the server (on a shared folder).
Is it possible to let the ascii files create on clients own disks.
Thanks
Caner
alejandro
10th July 2002, 18:16
Take a look at this thread (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=513)
Also you can create a new device for output to MS WORD or Notepad, or excel (http://www.baanboard.com/baanboard/showthread.php?s=&threadid=691) How to create it is described in some other threads and explained in BaaN Support.
amarpreet
12th July 2002, 07:27
We can create an ascii files on clients disks by
1. Creating a folder in C drive & sharing it full without any password.
2. On fileout giving path as \\computername\shared folder\filename.
3. This is working fine at our end.
Caner.B
12th July 2002, 08:21
Thanks for the advises,
amarpreet,
I tried your way but the file still is creating on the server and not on the client disk.
what are your settings of your ascii file device?
Caner
amarpreet
12th July 2002, 09:34
device type - Rewrite file.
4GL program - ttstpconv
Argument - ASCII
path - fileout
change allowed - Yes (Marked)
Also please check the path correctly. e.g My computer name is Amarpreet & shared folder name is report, and creatign file stock.txt on my hard disk I am giving output file's path as
\\amarpreet\report\stock.txt
i think this will work.
morpheus
12th July 2002, 10:03
Hello Amarpreet,
I am trying to create the dump on my system (client). I have created the device. Also, I have a folder on my PC which is sharable. Ouput file path is - <\\Client PC name\shared folder\file name>. But, I get the following errorS -
Cannot create <The Output file mentioned>
Conversion is cancelled.
Am I missing out something!?
regards,
morpheus
amarpreet
12th July 2002, 10:16
In which environment you are working and what are your network settings.
The folder should be shared completely without any PW.
Also in that folder there should be a file existing with the same name as you are giving in the output file name
~Vamsi
12th July 2002, 10:50
Notice that Amarpreet has given a UNC name (a machine name starting in '\\'). This naming convention is limited to Windows. If your Baan server is on Unix, this will not work. For those on Windows it is a working proposition. I would like to throw a spanner in the works though. Open network shares are a security risk, especially in these days of worms. For both the above reasons Kevin's solution (reimplemented and posted by Mark) is a better bet.
Caner.B
12th July 2002, 10:52
Hi amarpreet,
Our device settings are the same .
what is your server's OS .
Our OS is HP-UX.
I have tested it on windows 98 and 2000 but both did not work . it is creating it on the server with a file name like '\\Computer Name\Shared folder\filename'
Caner
~Vamsi
12th July 2002, 11:02
Caner,
Please see my above post. Amarpreet's solution will not work if the Baan server is on Unix.
morpheus
12th July 2002, 11:55
Hello,
The OS is Windows NT. I am giving the UNC name in the output file. The shared folder has no password and has got all the permissions. Also, this time I created the text file (test) in that shared folder. In the output file, I mentioned this file name, along with the complete path. But, still I get the same error!! But, one more thing - what is the point in creating a file before mentioning it in the output file!!?
regards,
morpheus
amarpreet
12th July 2002, 12:39
Sorry
My mistake, please ignore my previous message
Also in that folder there should not be a file existing with the same name as you are giving in the output file namenot
morpheus
12th July 2002, 15:01
Hello,
Fine. But, still I get the same error!!
ashimvig
12th July 2002, 15:45
On the client end.
Create a folder and give full access sharing without password..
When printing any report in the device give "ASCIF" (Plain ASCIF File - Rewrite File).
In the Output file give "\\computername\foldername\filename".
and then Click on Continue...
Check in the folder created earlier and the file will be there.
OS - WINDOWS NT
CLIENT - Windows 9.x or above
I hope u have NT Domain.
~Vamsi
12th July 2002, 18:30
Morpheus,
[list=1]
Check to see if you have any spaces in your filename or sharename
From your server's command prompt try a copy command to the path and filename you are trying in your device data. For ex: c:\>copy foo.txt \\mycomputer\myshare\foo.txt[/list=1]