The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to connect to IE from Unix ghanshyam UNIX for Dummies Questions & Answers 2 04-02-2008 01:14 AM
help needed to connect to windows from unix and run .bat file lakshmis10 UNIX for Advanced & Expert Users 1 10-19-2007 09:15 AM
Connect from Windows Using SSH aldowsary AIX 12 08-07-2005 03:12 PM
using the mount command to connect to a windows share cw1972 UNIX for Dummies Questions & Answers 1 09-30-2003 12:38 PM
How do I connect windows xp to Linux Red hat unix TRUEST UNIX for Advanced & Expert Users 7 11-21-2002 12:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-19-2005
guhas guhas is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 22
Unhappy how to connect to windows from unix ?

hi
i am using HP-UX and trying to write some scripting codes but i have to connect to windows and display the contents of a particular directory(in windows). how do i do it.?

Could anyone please help me regarding this !!

Thanks & Regards
guhas
  #2 (permalink)  
Old 12-19-2005
jerardfjay jerardfjay is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 146
access windows folder from unix

guhas,

There is no concept of connecting to windows if I understand your requirement correctly. However what you need is a way of accessing certain files/folders available on a windows server while logged into unix.
Curious question though. Are the windows and UNIX running on the same machine or on different machines?
The reason as to why I ask is that, one time I had a dual boot PC running Windows 2000 and red hat linux 7.2. When I choose to login to linux at boot time, my windows drives were also visible from linux. I am not sure if this is applicable to your situation, however you may think along those lines. The other thing that I dont recall is the order of installation of the OS's. This might some impact as to what is visible where. Again I cannot gurantee the above statements.

jerardfjay
  #3 (permalink)  
Old 12-19-2005
linuxpenguin's Avatar
linuxpenguin linuxpenguin is offline Forum Advisor  
Registered User
  
 

Join Date: May 2002
Location: India
Posts: 295
If you have ux and windows both installed (u cant have both running simultaneously), then, well, as far as i know till red hat 7, u have to have windows first installed and then linux over it. windows should use FAT and not NTFS. With this setup, you can now access the windows partition by mounting it. see man mount and umount for more info on accessing this partition
If you have windows on another box, and you just want to see the directory content when u are running an ftp script on unix, then you may use the command dir on your ftp prompt
if you have some gui tool like windows explorer installed on your linux system ( recommend kde), then you can also put the address "ftp://idassword@remote/dir" in the address bar and get to this folder to view the contents
hope atleast one of the above solution applies to your case.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0