💾 Archived View for reisub.nsupdate.info › fabianbonetti › comando_ftp_gemini.gemini captured on 2022-07-16 at 14:13:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

==============================================================================================
=        =========  ============================      ========================================
=  ===============  ============================  ===  =======================================
=  ===============  ============================  ====  ========================  ====  ======
=  =========   ===  =====  ===   ===  = ========  ===  ====   ===  = ====   ===    ==    ==  =
=      ====  =  ==    =======  =  ==     =======      ====     ==     ==  =  ===  ====  ======
=  ===========  ==  =  ==  =====  ==  =  =======  ===  ===  =  ==  =  ==     ===  ====  ===  =
=  =========    ==  =  ==  ===    ==  =  =======  ====  ==  =  ==  =  ==  ======  ====  ===  =
=  ========  =  ==  =  ==  ==  =  ==  =  =======  ===  ===  =  ==  =  ==  =  ===  ====  ===  =
=  =========    ==    ===  ===    ==  =  =======      =====   ===  =  ===   ====   ===   ==  =
==============================================================================================

Cápsula Gemini de Fabián Bonetti

Sobre GNU/Linux, Software Libre y demas

Usando el comando FTP para Gemini 12-6-2021

editar el archivo ~/.netrc

dentro poner los datos de conexion.

machine reisub.nsupdate.info login <usuario> password <password>

guardamos y le ponemos estos permisos.

# chmod 0600 ~/.netrc

Ahora la sintaxis es la siguiente para navegadr dentro.

comandos, ls [lista archivos] cd [entra a carpetas] cd .. [sale de una carpeta]

Sube archivos:

put file [sube archivo]
put /path/file
mput *.gemini [sube multiples archivos]

Baja archivos:

get file
mget *.gemini [baja multiples archivos]

Otra forma de subir

ftp -n <<EOF
open ftp.ejemplo.com
user usuario contraseña
put archivo.tar.gz
EOF

con curl

curl -T backup.tar.gz ftp://192.168.247.128 --user usuario:contraseña

Volver

© 2021