Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 43

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 25th September 2018, 09:46
DivyaDya DivyaDya is offline
Junior Member
Join Date: Sep 2018
Posts: 11
DivyaDya is on a distinguished road
Baan: 9.2 - DB: SQL - OS: Windows-10
Browse a file in Server/Loacal
Baan: Baan IVc4
C/S: Both

I want to browse file in a folder(Server and local)and how to get a full path of the file?
Reply With Quote
Sponsored Links
Old 27th September 2018, 16:32
giggty's Avatar
giggty giggty is offline
Senior Member
Join Date: May 2017
Posts: 117
giggty is on a distinguished road
Baan: Infor ERP 10.6 - DB: MSSQL Server 2008 R2 - OS: Windows Server 2012
To open a client-side file browser you call client.upload.file(string dest) (for LN UI, available from TIV level 1900) or client2server("", string dest, boolean text.mode) (for BW).
Server-side file browser is only available in LN UI using FileManager.selectFile([string i.root.path], string i.start.path, string i.mime.filter, ref string o.file) (available from TIV level 2200).
Reply With Quote
Old 27th September 2018, 17:53
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,192
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
See this in the code and utilities session and see if it helps in anyway.

I do not use a file browser of any sort like what was posted. I typically just ask the user to provide the full path and file name. Then I just try to open it(I think it is like If I do not find it then I give them and error saying something like file not found. If I do find the file, then I close where I found it, use client2server to move it up to the temp directory for baan. Then I open that file and read thru it to process it.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Question mr_suleyman Tools Development 37 11th November 2016 09:14
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 12:35
File Browse Server ArokLair Code & Utilities 4 23rd April 2015 06:21
Return value -2 on mmtmalone Tools Development 2 8th January 2014 23:03
bshell received SIGTERM manojsharma Tools Development 11 5th June 2008 10:22

All times are GMT +2. The time now is 16:09.

©2001-2018 - -