open unix file in windows


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting open unix file in windows
# 1  
Old 03-08-2005
Question open unix file in windows

Hi,

I have a text file in unix.
i am trying to give a link in Internet explorer to that file.
If i click on the link in Internet Explorer page then it should display the text from file in unix.
is that anyway possible....

i am trying it for past 2 days....if i find a way out i will post....but before that anybody figures out how to do it....plssssss... help me Smilie Smilie

g.
# 2  
Old 03-08-2005
You need to describe your network architecture a little more....

Do you have a webserver (i.e. Apache, etc) running on your UNIX machine? Which flavour of UNIX are you running? Also; is this intended for use as a true internet site (i.e. accessible externally of your LAN), or is it just an intranet site (i.e. accessible from within your LAN only)? Are you serving web pages from the UNIX box, or do you serve from a Windows machine (I ask this as you mention I.E.).

For example - a possible scenario - say I have a Windows host (192.168.1.1) and a Linux host (192.168.1.2). The Windows host is running IIS (the Intranet site is running on this machine), and the Linux host is running Apache. Then, I can place the text file into the Apache DocumentRoot directory (/srv/www/htdocs, whatever), and then place the link to the file thusly...

<a href="http://192.168.1.2/mytextfile.txt">blah</a>

If you are hosting the web pages from the UNIX machine that the text file is on, then it's as easy as linking to the text file using a path such as

<a href="/path/under/htdocs/to/file/mytextfile.txt">blah</a>

Again, you need to provide a lot more information about your network, how you serve your webpages, and where the text file is located on the UNIX machine. This is all speculative.....

Cheers
ZB
# 3  
Old 03-09-2005
Bug

Thank you soooo much for the reply......I have added my answers in red.....
can u understand the scenario now...or u want more info....

g.
--------------------------------------------------------------------------

You need to describe your network architecture a little more....

Do you have a webserver (i.e. Apache, etc) running on your UNIX machine? yesWhich flavour of UNIX are you running? it says HP Dome...i am not able to find outAlso; is this intended for use as a true internet site (i.e. accessible externally of your LAN), or is it just an intranet site (i.e. accessible from within your LAN only)? only used in intranet...not shared for internetAre you serving web pages from the UNIX box, or do you serve from a Windows machine (I ask this as you mention I.E.).my existing web pages are hosted from windows machine

For example - a possible scenario - say I have a Windows host (192.168.1.1) and a Linux host (192.168.1.2). The Windows host is running IIS (the Intranet site is running on this machine), and the Linux host is running Apache. Then, I can place the text file into the Apache DocumentRoot directory (/srv/www/htdocs, whatever), and then place the link to the file thusly...

<a href="http://192.168.1.2/mytextfile.txt">blah</a>

If you are hosting the web pages from the UNIX machine that the text file is on, then it's as easy as linking to the text file using a path such as

<a href="/path/under/htdocs/to/file/mytextfile.txt">blah</a>

Again, you need to provide a lot more information about your network, how you serve your webpages, and where the text file is located on the UNIX machine. This is all speculative.....

Cheers
ZB
# 4  
Old 08-31-2005
MySQL

Hey, i forgot to post the solution.

i installed tomcat and CGI.

then i used CGI coding to read and display the file in the browser.

wow !! Smilie


g.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to open the linux text file in windows

Hi friends, help me i downloaded some file from the Linux and i copied it to windows.Now i am unable to open those file. please help me how to open those file. the files are something like test.tcl note.tcl Thanking you Praveen (2 Replies)
Discussion started by: prakumar
2 Replies

2. Shell Programming and Scripting

Use Unix shell script to open Windows command prompt (cmd)

Hello, I work on Windows and I use Putty to access a remote UNIX server. I am trying to build a shell script that will have as main task to open the Windows command prompt (cmd) and run some Windows commands thereafter. The commands are actually file transfer commands that will download a file... (14 Replies)
Discussion started by: rookie2785
14 Replies

3. Solaris

Before I delete any file in Unix, How can I check no open file handle is pointing to that file?

I know how to check if any file has a unix process using a file by looking at 'lsof <fullpath/filename>' command. I think using lsof is very expensive. Also to make it accurate we need to inlcude fullpath of the file. Is there another command that can tell if a file has a truely active... (12 Replies)
Discussion started by: kchinnam
12 Replies

4. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

5. UNIX for Dummies Questions & Answers

open windows's .url file in unix

In windows, I can create a shortcut for websites. It's a .url file. the content of the file is like: How can I open it, the .url file, in firefox or google chrome in Unix(or just ubuntu)? (2 Replies)
Discussion started by: hz_i3
2 Replies

6. UNIX for Dummies Questions & Answers

Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All ! We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows. I have used the utility ZIP like the below. zip -e <newfilename> df2_test_extract.dat but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies

7. Shell Programming and Scripting

Unix / Linux Dialog Utility - how to open 2+ more dialog windows ?

Hi, example of Unix / Linux dialog utility is below. I am going to use dialog as simple GUI for testing of a modem. So I need to combine some dialog boxes into one. I need to have input box, output box, info box, dialog box, radiobox as in any standard program with graphical user... (2 Replies)
Discussion started by: jack2
2 Replies

8. Filesystems, Disks and Memory

Unix Sco Open Server, Windows Computers Problem Access Unix Shared Files Help!!!!!

Hello Moto I hope someone can help We's here at work, have a unix box with sco openserver 5 on it, so it has a nice gui interface.. and also a fair few windows computers.. a system admin guy b4 me, has set up a user called neil, which can, when u try to access the unix box using windows... (2 Replies)
Discussion started by: haggo
2 Replies
Login or Register to Ask a Question