473,498 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sharing files between a console and web application

10 New Member
Hi,
I have to deploy 2 projects-1 is a console application and the other one is a web application.
Both of these do some read/write operations on some common text files. So far I was just providing the common physical address of those files.But now I need to deploy these 2 projects into a different machine.So I guess I cannot provide the physical addresses anymore. And I guess Server.Mappath() would not work with console applications.
Any idea how I can proceed with this?
ny help would be greatly appreciated..
Thanks
Apr 17 '07 #1
2 989
RedSon
5,000 Recognized Expert Expert
Does your webserver allow you to create named pipes or other thing would be to try a global variable. Lastly you can think about saving a name of a path on your website in a hidden file and letting your console app access it and get the file path information.
Apr 17 '07 #2
satishr23
10 New Member
Hi,
thnks for ur reply.
I am thnking of placing the console application's exe file in my web folder so that all the files accessed would be local to both the applications.
thnks again
Apr 18 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
252
by: Phl | last post by:
Hi, I have a console application and a web server which uses the same classes as the console application. Is there some way of sharing variables in these classes so that both the console app and...
2
3733
by: Vitaly | last post by:
Hi, I've encountered a problem sharing c# application in NetMeeting. The problem is that when I try to share some GUI application, I don't see it on remote computer. Sometimes I see random small...
3
4458
by: Todd Gruben | last post by:
I am trying to send some encrypted data from a php application to be decoded in a .Net application. Both apps encode/decode a given string but generate different encrypted results. Anyone have...
25
12735
by: Ali-R | last post by:
Hi, Is there a parser which parses CSV files? Thanks for your help. Reza
3
2837
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be...
6
11190
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
5
10491
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
3
2117
by: sanjeeev | last post by:
I am loooking for the bet way to share files between Internet and Intranet application in real time, means as soon as an file is uploaded to the intranet application it should show up in the...
36
5059
by: pearl146 | last post by:
Hi, I have some database files (.MDF, .LDF,...) on the server. When I try to delete them, the warning "Cannot delete file: There has been a sharing violation. The source or destination file may...
0
7124
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,...
0
7163
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,...
0
7200
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...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4586
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...
0
3090
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...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1416
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 ...
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.