473,746 Members | 2,471 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IOException File used by another process

Hi,

I am re-writing part of my application using C#. This application starts
another process which execute a "legacy" program. This legacy program writes
to a log file and before it ends, it writes a specific string to the log file.

My original program (MKS Toolkit shell program) which keeps running "grep"
checking the "exit string" on the "log files". There are no file sharing
problem.

However, when I use File.Open or StreamReader to open the log files,
IOException is raised. I can see why, since the log files are open for
writes.

I am certain that Toolkit program such as "grep" or C function such as
"fopen()" will not encounter this problem.

Please note that there is no way for me to make any code changes to the
legacy program which is writing to the log file continuously.

Is there a way for me to by pass this restriction in C#?

Thanks,


--
George
Jun 29 '06 #1
13 11150

"George" <wa**@nospam.no spam> wrote in message
news:A4******** *************** ***********@mic rosoft.com...
| Hi,
|
| I am re-writing part of my application using C#. This application starts
| another process which execute a "legacy" program. This legacy program
writes
| to a log file and before it ends, it writes a specific string to the log
file.
|
| My original program (MKS Toolkit shell program) which keeps running "grep"
| checking the "exit string" on the "log files". There are no file sharing
| problem.
|
| However, when I use File.Open or StreamReader to open the log files,
| IOException is raised. I can see why, since the log files are open for
| writes.
|

Please post your code.

| I am certain that Toolkit program such as "grep" or C function such as
| "fopen()" will not encounter this problem.
|
| Please note that there is no way for me to make any code changes to the
| legacy program which is writing to the log file continuously.
|
| Is there a way for me to by pass this restriction in C#?
|

This has nothing to do with C#, file sharing is controlled by the OS
depending on the open and sharing modes specified during an open.

Willy.
Jun 29 '06 #2
Code:

It's fairly generic,

public System.Boolean ExitCheck(Syste m.IO.DirectoryI nfo
oBatchJobDirInf o)
{
System.IO.FileI nfo[] logFileArray;
System.String line;
System.Boolean hasExit = false;
System.String pattern = @"SERVER: EXIT";

try
{
logFileArray = oBatchJobDirInf o.GetFiles("*.l og");

foreach (System.IO.File Info oFileInfo in logFileArray)
{

using (System.IO.Stre amReader sr = new
System.IO.Strea mReader(oFileIn fo.FullName))
{
line = sr.ReadLine();
if (line == null)
{
//end of file.
break;
}

if (System.Text.Re gularExpression s.Regex.IsMatch (
line, pattern,
System.Text.Reg ularExpressions .RegexOptions.I gnoreCase))
{
//exited.
hasExit = true;
break;
}
}
}

}
catch (Exception ex)
{
throw (ex);
}

return hasExit ;
}

This has nothing to do with C#, file sharing is controlled by the OS
depending on the open and sharing modes specified during an open.
Yes, and no. Correct me if I am wrong here, I thought

OS implements
1. Basic file system functionality such as fopen() or fclose() in C. No
file locking.

2. File locking functionalities which did not apear until newer OSs are
introduced. (I blieve older version of UNIX did not have file locking
implemented.)
3. (Possibly) File open/close functionalities which does file locking
automatically.

I think program such as notepad uses fopen() when opening a file without
checking against file locking. You can try open a "locked" file with
notepad, and I believe you can still open this locked file. "Wordpad" will
not do the same.

I assume, System.IO.File. Open() in C# exposes (3), where file locking are
done automatically.

What I am asking here is, if there is an equivalent function/method in C# to
C's fopen()?

Thanks,

--
George
"Willy Denoyette [MVP]" wrote:

"George" <wa**@nospam.no spam> wrote in message
news:A4******** *************** ***********@mic rosoft.com...
| Hi,
|
| I am re-writing part of my application using C#. This application starts
| another process which execute a "legacy" program. This legacy program
writes
| to a log file and before it ends, it writes a specific string to the log
file.
|
| My original program (MKS Toolkit shell program) which keeps running "grep"
| checking the "exit string" on the "log files". There are no file sharing
| problem.
|
| However, when I use File.Open or StreamReader to open the log files,
| IOException is raised. I can see why, since the log files are open for
| writes.
|

Please post your code.

| I am certain that Toolkit program such as "grep" or C function such as
| "fopen()" will not encounter this problem.
|
| Please note that there is no way for me to make any code changes to the
| legacy program which is writing to the log file continuously.
|
| Is there a way for me to by pass this restriction in C#?
|

This has nothing to do with C#, file sharing is controlled by the OS
depending on the open and sharing modes specified during an open.

Willy.

Jun 29 '06 #3
Hi George,

Thank you for your post.

I think the cause of this problem is that you need to open the file with
flag FILE_SHARE_WRIT E since another process is already opening the for
writing. Here's the description of this flag in MSDN:

Enables subsequent open operations on an object to request write
access.
Otherwise, other processes cannot open the object if they request write
access.
If this flag is not specified, but the object has been opened for write
access, the function fails.

In .NET, we can use FileStream to specify a FileShare mode:

* None
* Read
* ReadWrite
* Write

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 30 '06 #4

"George" <wa**@nospam.no spam> wrote in message
news:E8******** *************** ***********@mic rosoft.com...
| Code:
|
| It's fairly generic,
|
| public System.Boolean ExitCheck(Syste m.IO.DirectoryI nfo
| oBatchJobDirInf o)
| {
| System.IO.FileI nfo[] logFileArray;
| System.String line;
| System.Boolean hasExit = false;
| System.String pattern = @"SERVER: EXIT";
|
| try
| {
| logFileArray = oBatchJobDirInf o.GetFiles("*.l og");
|
| foreach (System.IO.File Info oFileInfo in logFileArray)
| {
|
| using (System.IO.Stre amReader sr = new
| System.IO.Strea mReader(oFileIn fo.FullName))
| {
| line = sr.ReadLine();
| if (line == null)
| {
| //end of file.
| break;
| }
|
| if (System.Text.Re gularExpression s.Regex.IsMatch (
| line, pattern,
| System.Text.Reg ularExpressions .RegexOptions.I gnoreCase))
| {
| //exited.
| hasExit = true;
| break;
| }
| }
| }
|
| }
| catch (Exception ex)
| {
| throw (ex);
| }
|
| return hasExit ;
| }
|
|
| > This has nothing to do with C#, file sharing is controlled by the OS
| > depending on the open and sharing modes specified during an open.
|
| Yes, and no. Correct me if I am wrong here, I thought
|

I'm sorry, but you are wrong and confused, you are talking about file
"locking" and I'm talking about file sharing, both have things in common but
are not exactly the same!

| OS implements
| 1. Basic file system functionality such as fopen() or fclose() in C. No
| file locking.

Windows FS API's are implemented through the Win32 FS API's, the language IO
API's are just sitting in top of these Win32 API's (at the library level),
that means that whatever IO library you use (C library, STL, .NET etc), you
will always end by a call through Win32 for you file accesses on Windows.

|
| 2. File locking functionalities which did not apear until newer OSs are
| introduced. (I blieve older version of UNIX did not have file locking
| implemented.)

All Unix versions I know did have file locking implemented from the very
beginning. But lets talk about sharing because this is your real issue, if
you want to share file access across processes, you will have to open the
file for shared access, else the call will fail when one tries to open a
file, which is already open, in a mode that is not allowed by the process
who initially opened the file.
|
|
| 3. (Possibly) File open/close functionalities which does file locking
| automatically.
|
| I think program such as notepad uses fopen() when opening a file without
| checking against file locking.

Again, notepad doesn't open the file using fopen. Notepad is a Win32
application which uses the Win32 API's directly.
You can try open a "locked" file with
| notepad, and I believe you can still open this locked file.

Not sure here what exactly you mean with "locked" file, but if by this you
mean - a file which is opened for exclusive access - then you are wrong,
notepad will fail to open the file.
Notepad can only open a file which is:
- not yet open, or
- opened for shared read/write access.
Just write a small C# program that opens a text file with different sharing
modes and try to open the same file using notepad, you will understand what
I mean.

"Wordpad" will
| not do the same.
|
'fopen' opens the file with the access mode you specified during the call
(see later), the sharing mode is impicitely set to not shared. That means
that an fopen call will fail when the file is already open, be it by another
process or another thread in your own process.
| I assume, System.IO.File. Open() in C# exposes (3), where file locking are
| done automatically.
|

Again, file sharing not locking.

| What I am asking here is, if there is an equivalent function/method in C#
to
| C's fopen()?
|

The equivalent is File.Open("c:\\ somefile", FileMode.Open, FileAccess.Read ,
FileShare.None) ;

Note that you can set the access mode to Read, Write and ReadWrite, just
like you would do with fopen's +r, +rw, +w.

Now, what you are actually doing here:

| using (System.IO.Stre amReader sr = new
| System.IO.Strea mReader(oFileIn fo.FullName))

is opening a file for read access, with the sharing mode set to read
(implicitely set by StreamReader).
In this case, when another process has previously opened the file for
exclusive access, you won't be able to open the same file again. If the
other process has openend the file with shared read, you will be able to
open the file for read access only, if the other process specified shared
write, you can only open the file for write access.

Willy.
Jun 30 '06 #5
Hi Willy,

Thank you for your reply. I ended up implementing a work around. However,
I would like to find out more by keeping the discussion with you. If my
writing seems "argumentat ive" or "accusive", my apology. I am trying to get
my points across.

OK. Here is some of my findings:

I wrote some sample codes.

Sample codes 1:

private void btnCmdPrompt_Cl ick(object sender, EventArgs e)
{
System.IO.FileS tream oFileStream;

try
{
oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
System.IO.FileM ode.Create, System.IO.FileA ccess.Write);

oFileStream.Clo se();

}
catch (Exception ex)
{
throw (ex);
}

return;
}

This simply opens a file for write, without specifying System.IO.FileS hare
mode. I am able to open abc.txt (before Close(), I used break point) with
Notepad.exe. However, WordPad.exe does not allow access to the abc.txt.

Sample codes 2:
If I change the FileOpen() to include FileShare.Read mode,

oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
System.IO.FileM ode.Create, System.IO.FileA ccess.Write,
System.IO.FileS hare.Read);

Exactly the same behaviour.
Sample codes 3:
If I change the FileOpen() to include FileShare.None mode,

oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
System.IO.FileM ode.Create, System.IO.FileA ccess.Write,
System.IO.FileS hare.None);

Neither Notepad.exe and Wordpad.exe can open abc.txt.
I image the legacy program must have used file open code similar to Sample
Code 1. In this case Notepad.exe can still open abc.txt. My subsequent
File.Open() seems to behave more like Wordpad.exe.

What I wanted to find out was how can I simulate Notepad.exe's behaviour?
Back to UNIX for a bit. The way I used to lock files in UNIX was,

fd = open("abc.txt", O_CREAT);
flock(fd, LOCK_EX);
....

I mainly used flock() to lock a file and prvent certain sharings. Hence, I
do not understand your difference between "sharing" and "locking" for files.
(Not lock() in Threading which is for multi-threading locking) Of course,
flock() and NFS does not work too well together.
Feel free to give above sample a try and hopefully you will have the same
results. Any comments on why Notepad.exe and Wordpad.exe behave differently
are appreciated.

Thanks,

--
George
Jun 30 '06 #6
Unfortunately, the application which opens the file for writing is a legacy
3rd party program. Changing the codes will be very hard. It was compiled in
Visual Studio 6.0 anyway.
Please see my latest post about Notepad.exe Wordpad.exe differences. Any
comments are appreciated.

Thanks,
--
George
"Walter Wang [MSFT]" wrote:
Hi George,

Thank you for your post.

I think the cause of this problem is that you need to open the file with
flag FILE_SHARE_WRIT E since another process is already opening the for
writing. Here's the description of this flag in MSDN:

Enables subsequent open operations on an object to request write
access.
Otherwise, other processes cannot open the object if they request write
access.
If this flag is not specified, but the object has been opened for write
access, the function fails.

In .NET, we can use FileStream to specify a FileShare mode:

* None
* Read
* ReadWrite
* Write

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 30 '06 #7
Unfortunately, the application which opens the file for writing is a legacy
3rd party program. Changing the codes will be very hard. It was compiled in
Visual Studio 6.0 anyway.
Please see my latest post about Notepad.exe Wordpad.exe differences. Any
comments are appreciated.

Thanks,
--
George
"Walter Wang [MSFT]" wrote:
Hi George,

Thank you for your post.

I think the cause of this problem is that you need to open the file with
flag FILE_SHARE_WRIT E since another process is already opening the for
writing. Here's the description of this flag in MSDN:

Enables subsequent open operations on an object to request write
access.
Otherwise, other processes cannot open the object if they request write
access.
If this flag is not specified, but the object has been opened for write
access, the function fails.

In .NET, we can use FileStream to specify a FileShare mode:

* None
* Read
* ReadWrite
* Write

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 30 '06 #8

"George" <wa**@nospam.no spam> wrote in message
news:70******** *************** ***********@mic rosoft.com...
| Hi Willy,
|
| Thank you for your reply. I ended up implementing a work around.
However,
| I would like to find out more by keeping the discussion with you. If my
| writing seems "argumentat ive" or "accusive", my apology. I am trying to
get
| my points across.
|
| OK. Here is some of my findings:
|
| I wrote some sample codes.
|
| Sample codes 1:
|
| private void btnCmdPrompt_Cl ick(object sender, EventArgs e)
| {
| System.IO.FileS tream oFileStream;
|
| try
| {
| oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
| System.IO.FileM ode.Create, System.IO.FileA ccess.Write);
|
| oFileStream.Clo se();
|
| }
| catch (Exception ex)
| {
| throw (ex);
| }
|
| return;
| }
|
| This simply opens a file for write, without specifying System.IO.FileS hare
| mode.

The FileStream's FileShare mode is Read by default.

I am able to open abc.txt (before Close(), I used break point) with
| Notepad.exe. However, WordPad.exe does not allow access to the abc.txt.
|

This is because Notepad at program start only needs to read the file
contents, so, it opens the file for Read Access and "Sharing" mode Read,
reads it's contents into an internal buffer and closes the file, result - no
sharing violation.
Just try to write to the file from withing Notepad, you will get a File
sharing violation because Notepad must open the file for write access in
order to flush the buffer, which obviously fails because another thread
(your progarm) has opened the file with sharing mode Read not Write or
ReadWrite.
WordPad on the other end opens the file for Read/Write access, this
obviously results in a sharing violation, because you opened the file for
shared read access only.
| Sample codes 2:
| If I change the FileOpen() to include FileShare.Read mode,
|
| oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
| System.IO.FileM ode.Create, System.IO.FileA ccess.Write,
| System.IO.FileS hare.Read);
|
| Exactly the same behaviour.
|
|

This is normal, see above.

| Sample codes 3:
| If I change the FileOpen() to include FileShare.None mode,
|
| oFileStream = new System.IO.FileS tream(@"E:\tmp\ abc.txt",
| System.IO.FileM ode.Create, System.IO.FileA ccess.Write,
| System.IO.FileS hare.None);
|
| Neither Notepad.exe and Wordpad.exe can open abc.txt.
|

This is normal as you opened the file for exclusive access (that is no
sharing possible).

|
| I image the legacy program must have used file open code similar to Sample
| Code 1. In this case Notepad.exe can still open abc.txt. My subsequent
| File.Open() seems to behave more like Wordpad.exe.
|

Don't see what you mean with "My subsequent ".

| What I wanted to find out was how can I simulate Notepad.exe's behaviour?
|

If the third party program has opened the file for "shared" Read only, all
you can do is open the file for Read access, the other program did not want
to share the file for Write.
|
| Back to UNIX for a bit. The way I used to lock files in UNIX was,
|
| fd = open("abc.txt", O_CREAT);
| flock(fd, LOCK_EX);
| ...
|

The same can be done in Windows, FileLock is the Win32 API which allows you
to lock a file or a file portion, but like I said the semantics of file
"locking" and file "Sharing" are different, sure you can lock the whole file
contents which results in nearly the same behavior as a ShareMode.None, but
locking (on Windows) is more dynamic as you can change the portion or unlock
the file without the need to close and re-open the file, something you can't
do with the Sharing mode.
The C run-time library has no flock (BSD) function, instead it has _locking,
but again the semantics are different, and as I said before, the libary
function calls into Win32 anyway, so _locking uses FileLock under the
covers.
| I mainly used flock() to lock a file and prvent certain sharings. Hence,
I
| do not understand your difference between "sharing" and "locking" for
files.

The Sharing mode attribute is effectively a form of file locking, but the
semantics aren't exactly the same. Sharing has much more control over what
kind of lock you want while flock (BSD) is limitted to applying locks on a
file (using an advisory lock) and is IMO not used for general file control
(lockf (System V) using fcntl, offers the same level of control on Unix).
| (Not lock() in Threading which is for multi-threading locking) Of course,
| flock() and NFS does not work too well together.
|
That's right, flock doesn't work with NFS.

Willy.
Jun 30 '06 #9
Hi George,

Thank you for your update.

I'm sorry I didn't make myself very clear in my last post. What I mean is,
use the appropriate file sharing mode in your code, not to change the code
in the 3rd party program.

It's somewhat confusing in the documentation of CreateFile (win32) or
FileStream (.NET) about the file sharing mode. When a process first create
a file for writing, if it's not setting the file sharing mode to NONE, then
another process can open the file for reading, as long as it specify
FileShare.Write or FileShare.ReadW rite as sharing mode:

FileStream fs = new FileStream(@"c: \temp\1.txt", FileMode.Open,
FileAccess.Read , FileShare.ReadW rite);

And apparently the 3rd party program is not setting file sharing mode to
NONE since you've said that grep can read it.

Hope this helps. Please feel free to post here if anything is unclear.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 3 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7326
by: Pekka Niiranen | last post by:
Hi, I have used the following example from win32 extensions: -----SCRIPT STARTS---- import win32file import win32con import win32security import pywintypes
2
1665
by: Jay Pondy | last post by:
We have a loop where we process a large number of files. We need a way to make a distinction between the following two IOExceptions Messages: 1. The network path was not found. 2. The process cannot access the file "\\NetworkPath\FileName" because it is being used by another process. In the first case we have a network connection problem and their is no need to continue the loop. In the second case we simply need to skip that file and...
4
8330
by: Mountain Bikn' Guy | last post by:
I am having serious problems with the following IDE bug: Could not write to output file 'x.dll' -- 'The process cannot access the file because it is being used by another process. ' and BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message When You Build a Solution That Contains Multiple Projects I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
0
1562
by: Daniel | last post by:
Hi I am a beginner in C sharp and I have tried to create a program, which reads the xml file contents of a directory and afterwards deletes them. However I cannot delete all of the files, because of this error: IOException was unhandled The process cannot access the file '\\sss-power\d\kompas\e-ordre\xml_5617.xml' because it is being used by
1
10278
by: Dave Booker | last post by:
I am reading a text file using StreamReader. If while I have that stream open I open the underlying text file in, say, Excel, Excel will announce that the file is locked for reading and will offer to open it in Read-Only mode. But if I do that, then my StreamReader immediately throws a System.IO.IOException announcing, "The process cannot access the file because another process has locked a portion of the file." How can I access a...
5
4713
by: bulldog8 | last post by:
I've read numerous posts and have tried multiple approaches that I found, but just cannot get a file renamed. I am using VB.Net 2002 ... Here is what I have tried: 1) Code common to all attempts: OldName = "c:\albums\061203\email\DSC07272.JPG" NewName = "c:\albums\061203\email\Lalala.JPG"
8
8862
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
Hi; I copied a new set of files over to my ASP.NET dir (and subdirs) on our test server. This replaced every file for the app. When I first then tried to bring it up, I got the below error. After I bounced IIS, then it worked fine. log4net.dll is in the Bin directory. What is going on here - this makes no sense to me.
3
1848
by: Sergei Shelukhin | last post by:
Hi. I catch IOException and want to separate the case when I receive "The process cannot access the file because it is being used by another process" error from other possible IOException-s. Checking the message text is not an option because the app is multilingual and might use a .NET version that is not English. Is there any way to do it, some error code or something?
2
2782
by: Nelly78 | last post by:
Hi All, I have a situtation my application is running on windows 2003 server which is a domain and in web.config <Identity impersonation=true username=ABC\XYZ password=******> what i am doing in the code that i take folder path from user and retrive all file information from that folder and writing to a CSV file which i am creating using StreamWriter.
0
8975
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9516
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9351
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6774
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6062
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4587
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4840
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2200
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.