[DUG]: Network Drive
Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re:[DUG]: Network Drive
Do you have to actually map the drive ? or can you just access it the same way it would be mapped... ie using the path "\\NetworkedDrive\NetworkDirectory\SubDirectories\TheFile" Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 10:16 Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) att1.eml
RE: [DUG]: Network Drive
The task requires a database connection. Can you setup the BDE with a unc path? I so I'll be able to do it that way, Eion -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 10:31 To: Multiple recipients of list delphi Subject: Re:[DUG]: Network Drive Do you have to actually map the drive ? or can you just access it the same way it would be mapped... ie using the path "\\NetworkedDrive\NetworkDirectory\SubDirectories\TheFile" Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 10:16 Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) File: att1.eml --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re: [DUG]: Network Drive
Yes, you can use UNC in the BDE. Regards, Bevan "Eion McIntosh (CHCH)" wrote: The task requires a database connection. Can you setup the BDE with a unc path? I so I'll be able to do it that way, Eion -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 10:31 To: Multiple recipients of list delphi Subject: Re:[DUG]: Network Drive Do you have to actually map the drive ? or can you just access it the same way it would be mapped... ie using the path "\\NetworkedDrive\NetworkDirectory\SubDirectories\TheFile" Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator________ Subject: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 10:16 Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) File: att1.eml --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Re:RE: [DUG]: Network Drive
I am pretty sure that I did this 2 or 3 years ago with D3 Paradox Tables over a MS Network - actually I think it was a mix of Mappings an UNC paths... Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: RE: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 11:00 The task requires a database connection. Can you setup the BDE with a unc path? I so I'll be able to do it that way, Eion -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 10:31 To: Multiple recipients of list delphi Subject: Re:[DUG]: Network Drive Do you have to actually map the drive ? or can you just access it the same way it would be mapped... ie using the path "\\NetworkedDrive\NetworkDirectory\SubDirectories\TheFile" Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 10:16 Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) File: att1.eml --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) att1.eml
RE: RE: [DUG]: Network Drive
Using the UNC path has done what I wanted, Thanks -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 11:09 To: Multiple recipients of list delphi Subject: Re:RE: [DUG]: Network Drive I am pretty sure that I did this 2 or 3 years ago with D3 Paradox Tables over a MS Network - actually I think it was a mix of Mappings an UNC paths... Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: RE: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 11:00 The task requires a database connection. Can you setup the BDE with a unc path? I so I'll be able to do it that way, Eion -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 10:31 To: Multiple recipients of list delphi Subject: Re:[DUG]: Network Drive Do you have to actually map the drive ? or can you just access it the same way it would be mapped... ie using the path "\\NetworkedDrive\NetworkDirectory\SubDirectories\TheFile" Regards Paul McKenzie = Paul McKenzie Jetbet II Developer = [EMAIL PROTECTED] Ph: (04) 576-6822 T.A.B. National Office 106-110 Jackson Street Petone New Zealand Reply Separator Subject: [DUG]: Network Drive Author: [EMAIL PROTECTED] Date: 23/04/2001 10:16 Hi Can someone please give us some assistance on how to make a programmatical network drive connection. We have a app running which we want it to temporary make a automatic drive mapping to do one task and then disconnect. This is only a small task and we don't want the user to have permanent access to the directory. Thanks Eion McIntosh PPCS Ltd -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) File: att1.eml -- - New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"(See attached file: att1.eml) File: att1.eml --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
RE: [DUG] Network resource and IIS
Thanks Dave. We've solved the problem. As you said, we need to do anything using the same account that IIS is running under, which is iusr_server name by default. Jim Zheng -Original Message- From: David O'Brien [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, 25 July, 2000 10:19 To: Multiple recipients of list delphi Subject:RE: [DUG] Network resource and IIS Maybe you need to try mapping the drive using the same account that IIS is running under. The ERROR_SESSION_CREDENTIAL_CONFLICT appears to happen when a mapping is already in place using a different Username/Password than the one you are trying. The latest example I found with this error is when trying to add an NT machine to an existing domain using the administrator username/password. The error occurs if there is a drive already mapped using a different username/password. Removing the drive mapping allowes the machine to join the domain. Dave. -Original Message- From: Jim Zheng [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 July 2000 11:43 To: Multiple recipients of list delphi Subject: [DUG] Network resource and IIS Hi, All, When we try to map a network connection inside IIS, i.e. in an OCX component, by using WnetAddConnection2 API function, we get error code which does not list in the WnetAddConnection2 help document, ERROR_SESSION_CREDENTIAL_CONFLICT is one of them. Does anyone know how to connect to a network drive or how to use a network file resource in an OCX component? We know the OCX component is running in IIS service, so mapping a drive manually under a login is not recognized by IIS. We are using Windows 2000. Any comments would be appreciated. Jim Zheng --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG] Network resource and IIS
Maybe you need to try mapping the drive using the same account that IIS is running under. The ERROR_SESSION_CREDENTIAL_CONFLICT appears to happen when a mapping is already in place using a different Username/Password than the one you are trying. The latest example I found with this error is when trying to add an NT machine to an existing domain using the administrator username/password. The error occurs if there is a drive already mapped using a different username/password. Removing the drive mapping allowes the machine to join the domain. Dave. -Original Message- From: Jim Zheng [mailto:[EMAIL PROTECTED]] Sent: Thursday, 20 July 2000 11:43 To: Multiple recipients of list delphi Subject: [DUG] Network resource and IIS Hi, All, When we try to map a network connection inside IIS, i.e. in an OCX component, by using WnetAddConnection2 API function, we get error code which does not list in the WnetAddConnection2 help document, ERROR_SESSION_CREDENTIAL_CONFLICT is one of them. Does anyone know how to connect to a network drive or how to use a network file resource in an OCX component? We know the OCX component is running in IIS service, so mapping a drive manually under a login is not recognized by IIS. We are using Windows 2000. Any comments would be appreciated. Jim Zheng --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG] Network resource and IIS
The problem is a security one. Maybe you should question what you are trying to do. IIS and any web server goes to great lengths to protect your file system from internet access. So if you are logging into IIS with a guest Login, by default you have no access to the server's file system. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Zheng Sent: Thursday, July 20, 2000 11:43 AM To: Multiple recipients of list delphi Subject: [DUG] Network resource and IIS Hi, All, When we try to map a network connection inside IIS, i.e. in an OCX component, by using WnetAddConnection2 API function, we get error code which does not list in the WnetAddConnection2 help document, ERROR_SESSION_CREDENTIAL_CONFLICT is one of them. Does anyone know how to connect to a network drive or how to use a network file resource in an OCX component? We know the OCX component is running in IIS service, so mapping a drive manually under a login is not recognized by IIS. We are using Windows 2000. Any comments would be appreciated. Jim Zheng --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
[DUG] Network resource and IIS
Hi, All, When we try to map a network connection inside IIS, i.e. in an OCX component, by using WnetAddConnection2 API function, we get error code which does not list in the WnetAddConnection2 help document, ERROR_SESSION_CREDENTIAL_CONFLICT is one of them. Does anyone know how to connect to a network drive or how to use a network file resource in an OCX component? We know the OCX component is running in IIS service, so mapping a drive manually under a login is not recognized by IIS. We are using Windows 2000. Any comments would be appreciated. Jim Zheng --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
[DUG]: network protocols.
Does anyone know how I could write a program to install certain network protocols, setup file sharing and change the identification for a machine ? Is there anything around that does this (Apart from the windows configuration !) I want this to be automated. Cheers, Matt.
[DUG]: network
Hi, How can I check if another machine is up except by using file system e.g. fileexists('\\other_machine\drive\...). The problem being that by checking on a file on the network the program seems to wait for the timeout if the other_machine is down and my program seems to hang. I need to check this before the bde tries to access a paradox table on the other machine as otherwise the bde hangs up. Is there a kind of ping function? thanks sigi CACTUS Ltd., Nelson Phone:03-5479383 Fax:03-5479329 E-Mail [EMAIL PROTECTED] http://www.TheShop.co.nz http://www.CharterGuide.co.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: [DUG]: network
Forget about Windows API being any use. The safest idea would be to use an IP Ping - if you have IP. If not then your probably stuffed. Cheers "Siegfried Kirchmair" [EMAIL PROTECTED] on 12/12/98 19:04:46 Please respond to [EMAIL PROTECTED] To: Multiple recipients of list delphi [EMAIL PROTECTED] cc:(bcc: Peter Jones/LogisticsInformation Technology/Christchurch/Foodstuffs) Subject: [DUG]: network Hi, How can I check if another machine is up except by using file system e.g. fileexists('\\other_machine\drive\...). The problem being that by checking on a file on the network the program seems to wait for the timeout if the other_machine is down and my program seems to hang. I need to check this before the bde tries to access a paradox table on the other machine as otherwise the bde hangs up. Is there a kind of ping function? thanks sigi CACTUS Ltd., Nelson Phone:03-5479383 Fax:03-5479329 E-Mail [EMAIL PROTECTED] http://www.TheShop.co.nz http://www.CharterGuide.co.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz