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 > Special Forums > Windows & DOS: Issues & Discussions
.
google unix.com



Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Connect smbclient to an windows server 2003 with active directory enkei17 SUN Solaris 3 12-03-2008 02:58 PM
How to connect unix server to unix server through shell scripts phatan Shell Programming and Scripting 2 06-23-2008 02:08 AM
How to connect unix server to unix server through shell scripts phatan Shell Programming and Scripting 2 06-19-2008 05:30 AM
map windows server to unix server vinay123 Shell Programming and Scripting 1 06-12-2008 07:15 AM
Script runs fine on UNIX Server...Not through MSK Tool kit on Windows Server madhunk UNIX for Dummies Questions & Answers 5 01-31-2008 01:30 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-10-2009
vidzz911 vidzz911 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
Question To Connect to Windows server from Unix server

Hi

i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation".

I am able to connect to this unix server from that windows server through ftp but not vice versa. Could someone help me by telling me how to connect or send a file to windows server from a unix script?

thanks
Vidzz
  #2 (permalink)  
Old 04-10-2009
amitranjansahu's Avatar
amitranjansahu amitranjansahu is offline
Registered User
  
 

Join Date: Jan 2009
Location: Gurgaon,INDIA
Posts: 239
enable ftp demon in your windows machine. you will find it in services some where in contrl pannel. by default its disabled.
  #3 (permalink)  
Old 04-10-2009
vidzz911 vidzz911 is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 2
Question

Hi amrit

i checked on the windows -> control panel -> administrative tools -> services. I was only able to find one service File Replication. There were no other services like ftp demon or any service that had the name ftp.

would this mean its not possible to use ftp for this particular windows server?

thanks
Vidz
  #4 (permalink)  
Old 04-10-2009
amitranjansahu's Avatar
amitranjansahu amitranjansahu is offline
Registered User
  
 

Join Date: Jan 2009
Location: Gurgaon,INDIA
Posts: 239
every window server has ftp service.

search in google/microsoft site u will find for your window server.
How To Set Up an FTP Server in Windows Server 2003
  #5 (permalink)  
Old 04-10-2009
woofie woofie is offline
Registered User
  
 

Join Date: Jan 2004
Location: Australia
Posts: 195
Depending on when the script is required to be run on the Windows server is it possible to setup a automatically thing on the Windows server to run the script. Maybe e-mail the output of the script to an account on the Unix computer?
~~~~~~~~~~~~~~~

Sorry forgot to add, also what version of Windows? But you may need to go into the firewall settings and looks for someone like 'exceptions' and allow the FTP port to be open, or if you using the non standard port for FTP add the port to be open for FTP.

Last edited by woofie; 04-10-2009 at 08:58 AM.. Reason: more information...
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 02:43 PM.


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