Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Correct Commands to FTP from Sunsolve

Posted on 2010-11-09
10
Medium Priority
?
675 Views
Last Modified: 2013-12-27
Hi Experts. I tried this below to download a patch for Solaris server but received an invalid message:

FTP patches:
%ftp -i sunsolve.sun.com
      login as an anonymous user
ftp>cd pub/patches
ftp>mget patch_number.*
ftp>quit
Can someone give the correct commands? Thanks!
0
Comment
Question by:Rhiaanon44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +2
10 Comments
 
LVL 20

Expert Comment

by:n2fc
ID: 34099096
1) Are you sure you have the right server and path names?
Is your sample accurate?  I did not find the directory "pub/patches" at sunsolve.sun.com, but perhaps that was not the actual machine you logged on to...
2) -i indicates no interactive prompts... You might consider omitting that option...
3) If you are downloading binary files (not text) you should enter the "binary" command prior to the "mget" command to insure a binary file transfer
0
 

Author Comment

by:Rhiaanon44
ID: 34099111
I believe that is old information I located. Can you tell how to (the steps) to download a patch directly to the server with ftp? I have never done this before. So I am at the ftp prompt in the sun server...what other commands do I need to use to downwload the patch to the server. Thanks!
0
 

Author Comment

by:Rhiaanon44
ID: 34099117
I am trying to download the zip file.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 20

Accepted Solution

by:
n2fc earned 668 total points
ID: 34099141
Once logged on, you will need to do a "cd" command on sun's machine to the directory where the patch is stored...
You can do an "lcd" command to change YOUR machine to a directory where you can store the patch...
You will need to do a "binary" (can be abbreviated "bi") to do a binary transfer (not a text file)...
You can then do a "get" command specifying the exact filename to download... "mget" can use wild cards (*)...
Other commands of interest:
ls -al      directory list on remote machine
pwd      show current path on remote machine
 
Make sure you are logged onto the correct machine where your patch is stored and you must know the correct directory it is in!
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 664 total points
ID: 34099143
First of all you need a sunsolve account to download patches.
In ftp> prom, you can use help to find out all commands you can use, ie. pwd, ls, get and mget etc.
If those commands did not give any information, you might not login correctly.

0
 
LVL 40

Expert Comment

by:omarfarid
ID: 34099229
What are you trying to do exactly? the ftp site show below message:

C:\>ftp sunsolve.sun.com
Connected to sunsolve.sun.com.
220-ATTENTION:
220-
220-This SITE IS END OF LIFE
220-
220-As of August 1st 2008, this site is no longer available to upload or downloa
d
220-files.
220-Please use supportuploads.sun.com or supportfiles.sun.com
220-to upload or download files to and from Sun Services Engineers.
0
 

Author Comment

by:Rhiaanon44
ID: 34099245
Download a kernel patch. Is there another way? I have downloaded the patch to Windows XP. Anyway to move it from there? I tried FTP but the Sun box closed the connection.
0
 
LVL 2

Assisted Solution

by:madan1278
madan1278 earned 668 total points
ID: 34099329
Use sunsolve account to download the relevant patch using your internet browser and transfer the patch to the unix box.
You need to enable ftp on your machine before you transfer the patch to the unix box.
If the below 2 services are not enabled already please enable them.

svcadm enable inetd
svcadm enable ftp
Remove the account that you will use for ftp from /etc/ftpd/ftpusers  
Try now.
0
 
LVL 2

Expert Comment

by:madan1278
ID: 34099351
The most preferred option on unix platform would be scp or sftp but I am not sure if your XP maching has relevant client software to initate the connection.
0
 

Author Closing Comment

by:Rhiaanon44
ID: 34099368
Thanks Experts!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question