💾 Archived View for reisub.nsupdate.info › fabianbonetti › comando_ftp_gemini.gemini captured on 2024-03-21 at 15:20:10. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
============================================================================================== = ========= ============================ ======================================== = =============== ============================ === ======================================= = =============== ============================ ==== ======================== ==== ====== = ========= === ===== === === = ======== === ==== === = ==== === == == = = ==== = == ======= = == ======= ==== == == = === ==== ====== = =========== == = == ===== == = ======= === === = == = == === ==== === = = ========= == = == === == = ======= ==== == = == = == ====== ==== === = = ======== = == = == == = == = ======= === === = == = == = === ==== === = = ========= == === === == = ======= ===== === = === ==== === == = ==============================================================================================
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]
put file [sube archivo]
put /path/file
mput *.gemini [sube multiples archivos]
get file
mget *.gemini [baja multiples archivos]
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
© 2021