Solved

Correct Commands to FTP from Sunsolve

Posted on 2010-11-09
10
669 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
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!

 
LVL 20

Accepted Solution

by:
n2fc earned 167 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 166 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 167 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cron job says it ran, no results 25 136
help pulling data string using Awk 9 90
Solaris 10.  Nmap installation fails 2 84
check the file dates in unix 14 76
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

734 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