Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
dos to unix path & \ / slashes |
Tue, Dec 12 2006 11:56 AM | Permanent Link |
"Larthusza" | I've been called out of retirement to make a small database application for
my local crinklies group and am a bit rusty. This is not strictly anything to do with DBISAM but that is what I am using and I'm sure it is no great challenge to the excellent people who meet here. I have made my application in WinXP which is a very small, 100 or so record, table which runs across a network from a UNIX server. I cant get the path to work. for simplicity and testing purposes I have hard coded the path something like: http:\\www.myserver\myapplication\ with the Delphi execute and the DBISAM tables all in the root directory of 'myapplication'. but when I run it it throws an error saying the path is http:\\www.myserver\myapplication\/TableOne. If I put it inside a UnixPathToDosPath function it shows http://www.myserver/myapplication/TableOne. which is fine except it doesn't run. I can't figure out how to stop the programme adding a slash / before the table name. I think it is a Microsoft Windows thing but I'm not sure. Any ideas would be most welcome. -- (\__/) (='.'=) (")_(") |
Wed, Dec 13 2006 1:31 PM | Permanent Link |
Put simply, this isn't going to work. You can't access files over the
internet like that. You'd either have to use \\myserver\share\directory, and that requires that you have an "SMB" capability to access the server on your LAN, or have the server itself do the work. /Matthew Jones/ | |
Wed, Dec 13 2006 1:34 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | << I have made my application in WinXP which is a very small, 100 or so record, table which runs across a network from a UNIX server. I cant get the path to work. for simplicity and testing purposes I have hard coded the path something like: http:\\www.myserver\myapplication\ with the Delphi execute and the DBISAM tables all in the root directory of 'myapplication'. but when I run it it throws an error saying the path is http:\\www.myserver\myapplication\/TableOne. >> You can't use an http URL with tables. You have to use a generic URL like this: \\MyServer\MyApplication Where MyServer is the server name and MyApplication is the resource name on the server. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, April 24, 2024 at 11:07 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |