Es:Cómo usar un “curl” para descargar NeoOffice

From NeoWiki

(Difference between revisions)
Jump to: navigation, search

Valterb (Talk | contribs)
(link to it:curl added)
Next diff →

Revision as of 20:51, 21 December 2006

Este artículo no está actualizado, o necesita cambios estructurales o estilísticos para conformarse con la guía de estilo del resto de este wiki.

curl es una línea de comando para una herramienta de descarga. Es muy útil cuando se tiene una conexión poco estable o cuando tu explorador de internet se cuelga o se detiene antes de terminar la descarga de algunos ficheros. Ha sucedido que algunas combinaciones de exploradores y conexiones de internet tienen frecuentemente este problema con algunos parches de NeoOffice.

Si tras descargar un fichero *.dmg de la página de descargas de NeoOffice descubres que el parche o el programa no se puede instalar porque aparece un error del tipo: “No mountable file systems” o algo similar puede ser que el problema sea una descarga incompleta.

Puedes usar estas instrucciones para descargar NeoOffice (o, si es necesario, para completar una descarga no terminada) y los parches de NeoOffice también (solamente has de sustituir el URL al parche por el URL al “full binary” en las instrucciones).

Cómo usar curl para descargar una versión de NeoOffice

Para usar un curl, sigue los siguientes pasos:

  1. Abre una ventana de Terminal (/Applicaciones/Utilidades/Terminal.app)
  2. cd al directorio (carpeta) donde quieras que la descarga .dmg de NeoOffice quede y apreta 'retorno'
    Si quieres dejarlo en el Escritorio, basta con escribir cd ~/Desktop y apretar retorno
    (asegúrate de escribir bien el símbolo ~, que es el atajo de UNYX para tu usuario o carpeta personal)
  3. Visita la página de descarga de NeoOffice con tu explorador y elige el lugar que usarás (si sabes de un sitio de descarga cercano a donde vives, úsalo; si no, puedes escoger el primero) y haz ctrl + click sobre el link. Escoge Copy Link Location (o algo similar de acuerdo con lo que indique tu explorador de internet) en el menú contextual que aparecerá.
  4. Vuelve a Terminal y escribe los siguientes comandos, sin apretar retorno: curl -C - -O
    (ésta última se trata de la letra o, no el cero).
  5. Luego presiona la barra espaciadora y pega el link que copiaste de tu explorador.
    El comando completo se vará algo así como lo siguiente:
    curl -C - -O http://www.mirror.com/path/to/NeoOffice-Version.dmg
  6. Apreta retorno y la descarga comenzará.
  7. Si necesitas desconectarte por alguna razón, apretando control-c detendrás la descarga.
  8. Si la descarga “termina” muy pronto (puedes comparar el tamaño del *.dmg con el que aparecen en la página de descargas de NeoOffice) o fue interrumpido por cualquier otra razón, basta con que repitas todo el comando (si la ventana de Terminal está todavía abierta, aprieta la tecla de la flecha que va hacia arriba, lo cual hará aparecer el último comando escrito de manera que no tengas que volver a escribirlo; luego aprieta retorno.
    Repite este paso hasta que el tamaño del fichero descargado (*.dmg) sea el mismo que el que se indica en la página de descargas de NeoOffice. Luego podrás instalarlo sin problemas.

Using curl to complete a “failed” download begun by a web browser

In many cases, you can also use curl to complete a download that you started in your web browser but which did not complete properly. This will not always work (sometimes curl cannot pick up where the browser left off and must start over), but even if curl has to start over from scratch, you should be able to stop and restart the "new" download that curl began.

  1. Open a new Terminal window (/Applications/Utilities/Terminal.app)
  2. cd to the directory (folder) where your partially-downloaded NeoOffice .dmg is located and press return
    For instance, if the file is on the Desktop, type cd ~/Desktop and press return
    (be sure to type the the ~ symbol, which is the UNIX shortcut for "your home folder")
  3. Visit the NeoOffice download page in your browser and find a mirror you used and then control-click on the download link. Select Copy Link Location (or similar-sounding option in your browser) from the context menu.
    Some browsers store or display the URL of a download in the download manager, so you can copy the URL of the failed NeoOffice download from there. You may have to control-click on the download and choose Copy Source URL or Copy Link or similar from the context menu.
  4. Switch back to the Terminal and type the following, without pressing return: curl -C - -O
    (that's a capital o, not a zero)
  5. Then press the spacebar and then paste the link you copied from your browser
    The full command should look something like this:
    curl -C - -O http://www.mirror.com/path/to/NeoOffice-Version.dmg
  6. Press return and curl will attempt to resume the download from where the browser left off.
  7. If you need to disconnect for any reason, pressing control-c will stop the download.
  8. If the download "finishes" early (compare the .dmg size on disk—select the file and choose Get Info from the Finder's File menu—with the size listed on the NeoOffice download page) or was interrupted for any reason, just repeat the full command (if the Terminal window is still open, pressing the up arrow key will usually redisplay the last command so you won't have to retype it; just press return.
    Repeat this step until the size of the downloaded .dmg file matches that from the NeoOffice download page and the disk image opens properly after double-clicking.


Este artículo en otros idiomas: English Français Italiano
Personal tools