FTP from Solaris to Windows XP | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


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

FTP from Solaris to Windows XP

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-18-2007
ilak1008 ilak1008 is offline
Registered User
 
Join Date: May 2005
Last Activity: 30 January 2009, 3:27 PM EST
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
FTP from Solaris to Windows XP

I know that this issue has been discussed over and over again but I'm having a problem connecting from my Solaris Workstation to PC running Windows XP.

I ran a script from Solaris Workstation to Windows XP PC as follows:

#! /bin/ksh

ftp -n 150.10.128.33 << cmd
user “” “” # no username & password
cd e:\Files/Example
put filename
bye
cmd

I also tried manually,
$ ftp
ftp> open 150.10.128.33 and also, open 150.10.128.99

But these didn’t work and the error messages showed as:

ftp: connect: Connection timed out
Not connected.
Not connected.
Not connected.

The following information may be of help to you in solving the problem:

C:\ipconfig

Windows IP Configuration

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
IP Address……………………………: 150.10.128.99
Subnet Mask…………………………: 255.255.0.0
IP Address……………………………: 150.10.128.33
Subnet Mask…………………………: 255.255.255.0
IP Address……………………………: fe80::216:35ff:feae:a457%4
Default Gateway……………………...:
:
:
:
:
Sponsored Links
    #2  
Old 05-18-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Do you have an ftpd or similar running on Windows XP?
Sponsored Links
    #3  
Old 05-18-2007
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 23 September 2014, 1:59 PM EDT
Location: Ashburn, Virginia
Posts: 9,925
Thanks: 60
Thanked 435 Times in 260 Posts
Windows XP Pro includes IIS (Internet Information Services) which is a Web server and an FTP server. I did not have IIS on my box though. I had to go into "Add or Remove Programs" and click on "Add/Remove Windows Components". It was not enough to check "IIS" in the pop-up window. That would have added only the web server. I also had to click "details" and check "FTP Server". I was prompted to insert my Windows Install disk. I had built a slipstream disk to combine SP2 with my original Installation Disk, so I inserted my slipstream disk. That worked. Now I have a "Internet Information Tools" shortcut on my "Administrative Tools" Window from the Control Panel. This would not have been possible with other versions of XP, it is only included in XP Pro.
    #4  
Old 05-19-2007
ilak1008 ilak1008 is offline
Registered User
 
Join Date: May 2005
Last Activity: 30 January 2009, 3:27 PM EST
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the info. Yes, I am using Windows XP Pro Version 2002 SP2. When I clicked the Add/Remove Windows Components, the Internet Information Services was already checked except for the File Transfer Protocol (FTP) Service. Upon clicking FTP Service, the installation went okay without prompting me to insert my original Windows Installation Disk. Then I tried the following command from my Solaris workstation again:

$ ftp
ftp> open 150.10.128.33

and still showed this error message:
ftp: connect: Connection timed out

I restarted my PC, but it yielded the same result.
Sponsored Links
    #5  
Old 05-19-2007
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon (Administrator Emeritus)
 
Join Date: Aug 2001
Last Activity: 23 September 2014, 1:59 PM EDT
Location: Ashburn, Virginia
Posts: 9,925
Thanks: 60
Thanked 435 Times in 260 Posts
Installing IIS ftpd is good. But you need to configure it too. That is the Internet Information Tools short cut that I mentioned.
Sponsored Links
    #6  
Old 05-20-2007
ilak1008 ilak1008 is offline
Registered User
 
Join Date: May 2005
Last Activity: 30 January 2009, 3:27 PM EST
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Perderabo
Installing IIS ftpd is good. But you need to configure it too. That is the Internet Information Tools short cut that I mentioned.
Could you please give us some info on how to install IIS ftpd and how to configure it?

Thanks!
Sponsored Links
    #7  
Old 05-20-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Quote:
Originally Posted by ilak1008
ftp: connect: Connection timed out
That looks like a firewall issue. Normally you should either connect or get ECONNREFUSED.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP from Windows to Solaris bharat_ Solaris 7 08-25-2010 11:20 PM
X-Windows on Solaris EmbedUX Solaris 8 03-25-2010 05:59 AM
NTFS under Solaris (switching from windows to Solaris server) microbot Solaris 2 07-14-2009 09:46 AM
FTP from Solaris to Windows miredale UNIX for Dummies Questions & Answers 2 10-17-2007 02:03 PM



All times are GMT -4. The time now is 02:21 PM.