FTPing from XP to Solaris


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers FTPing from XP to Solaris
# 1  
Old 07-11-2007
FTPing from XP to Solaris

Hello. I'm new to Unix. I've got a SUN Ultra 10 running Solaris 5.7 and I'm trying to FTP to it from my XP PC. My PC has an IP address of 10.0.0.3 and a Subnet of 255.255.255.0. I'm connected to the Sun machine with a crossover cable. I type "ifconfig hme0 10.0.0.5" in a shell window (as administrator) on the Sun and try to connect to the Sun by FTPing to it via the PC.
But it doesn't work. How can I FTP to my Unix machine from my XP PC?
Please help...it's driving me insane.
# 2  
Old 07-11-2007
Quote:
Originally Posted by dtferreira
I type "ifconfig hme0 10.0.0.5" in a shell window (as administrator) on the Sun and try to connect to the Sun by FTPing to it via the PC.
Did you plumb the interface first?

Does ifconfig report the interface as up and happy?

Does ipconfig report the interface up on the PC?

Are there flashing lights next to the PC's or Suns network connection?

Can you ping from the PC first?

Is 'ftpd' configured in /etc/inetd.conf?

is 'inetd' actually running?

On the Sun box can you do 'ftp 127.0.0.1'?

Is on the client returning immediately or after a reasonable timeout
# 3  
Old 07-12-2007
Oops...I think you're speaking Chinese!
How do you plumb the interface?
How does ifconfig report the interface? And how do you do this?
How do you ping the PC from a Unix machine?
What is 'inetd' anyway?

Sorry. Like I said, I'm a real newbie to the Unix world. I just want to get these machines to talk to each other. I'm using Network Neighbourhood on the PC which allows me to FTP to the Sun (supposedly).
# 4  
Old 07-12-2007
Quote:
Originally Posted by dtferreira
How does ifconfig report the interface?
login to the sun box and type 'ifconfig -a' and then post the results.

Quote:
Originally Posted by dtferreira
How do you ping the PC from a Unix machine?
/usr/sbin/ping 10.0.0.3

Quote:
Originally Posted by dtferreira
What is 'inetd' anyway?
The 'internet superserver', this is the program on the Solaris box that is waiting for ftp connections.

You should see a line like the following in /etc/inetd.conf

Code:
ftp     stream  tcp6    nowait  root    /usr/sbin/in.ftpd       in.ftpd -a

similarly

Code:
# ps -ef | grep inetd
    root   160     1  0   Jul 11 ?        0:00 /usr/sbin/inetd -s

will tell you if inetd is actually running
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl error file ftping

I am getting error while ftping the files to the particular destination. Source code $ftp->login() or die "not log on to destination server $server "; $ftp->cwd("$destdir") or die "\ not able to change directory to $destdir on $server ****\n"; Output: ... (1 Reply)
Discussion started by: ramkumar15
1 Replies

2. UNIX for Dummies Questions & Answers

ftping a Zip file

i want to sftp a .zip file.when i am doing get abc.zip thenabc.zip is getting copied to my home folder. but on clicking abc.zip on my home folder to open it i am getting error message as "Unable to unarchive abc.zip into <homefolder> name" How to sftp the Zip file Thanks (1 Reply)
Discussion started by: bmrout007
1 Replies

3. UNIX for Dummies Questions & Answers

Size limit for FTPing file

Is there any size limit for FTPing file from one unix system to another? (6 Replies)
Discussion started by: swarup2008
6 Replies

4. UNIX for Dummies Questions & Answers

How to remove junk (^Ò) character while FTPing

Hi All, I have been trying to FTP some data files from Windows directory to a UNIX server. The txt file in the windows contails the following data: "111~XYZ~1~Contact person’s phone number~COMMENTS~~~~" but the same line is appearing as "111~XYZ~1~Contact person^Òs phone number~COMMENTS~~~~"... (8 Replies)
Discussion started by: vkumbhakarna
8 Replies

5. Shell Programming and Scripting

removing files after ftping

Hi All, I'm trying to write script to ftp some files and then need to remove these files from server. Is there any way to keep the condition that the file should be removed only after successfully transfered to the destinatino server? If in case, the file isn't been transferd, it should not be... (5 Replies)
Discussion started by: im_new
5 Replies

6. UNIX for Dummies Questions & Answers

ftping a file based in the size

Hi, I want to connect to a remote machine using FTP, check for the size of a file there. If it is 0 bytes, then there is no need to ftp else i have to ftp the file. Any help will be highly appreciated. (7 Replies)
Discussion started by: vikas.rao11
7 Replies

7. Shell Programming and Scripting

Error in ftping script

Hi all , Can u please help me in this. I tried to just login server through the below script SERVER="Server_NAME" USER="i am user" PASSWD="mypassword" ftp -in $SERVER<<EOF user $USER $PASSWD mkdir Chanakya #To create directory with my name in $HOME ls > list put list bye... (5 Replies)
Discussion started by: Chanakya.m
5 Replies

8. UNIX for Dummies Questions & Answers

Ftping through unix script

Hi all, I am trying to write a script to connect to remote host and ftp some files there. The problem i am facing is,I dont know how to specify username and password for remote host through scripting. and even if i am able to connect to remote host,then how should i execute commands like mput... (17 Replies)
Discussion started by: Shiv@jad
17 Replies

9. UNIX for Advanced & Expert Users

FTPing over COM port ???

Hello. Can someone please help, or give me any advice. The company I work for has a unix machine and works over the com port rather than IP. We need to retrieve some files from it onto another unix machine and we are trying to get an ftp program to work, does anyone know any ftp programs that... (1 Reply)
Discussion started by: badge
1 Replies

10. UNIX for Dummies Questions & Answers

FTPing backup files to another server

I am running a hot backup of my database every night within our cronjob. Recently I got burned because the tape which holds my backups became corrupt. I am setting up another Sun box to hold my backups as well as writing them to tape. I know dumb error on my part. My question is what will I... (10 Replies)
Discussion started by: fredlucas3
10 Replies
Login or Register to Ask a Question