Technopedia Center
PMB University Brochure
Faculty of Engineering and Computer Science
S1 Informatics S1 Information Systems S1 Information Technology S1 Computer Engineering S1 Electrical Engineering S1 Civil Engineering

faculty of Economics and Business
S1 Management S1 Accountancy

Faculty of Letters and Educational Sciences
S1 English literature S1 English language education S1 Mathematics education S1 Sports Education
  • Registerasi
  • Brosur UTI
  • Kip Scholarship Information
  • Performance
  1. Weltenzyklopädie
  2. ftp (Unix) — Wikipédia
ftp (Unix) — Wikipédia 👆 Click Here! Read More..
Un article de Wikipédia, l'encyclopédie libre.
Page d’aide sur l’homonymie

Pour les articles homonymes, voir FTP.

Ftp

Description de cette image, également commentée ci-après
"ftp" exécuté dans un terminal xterm
Informations
Type Client FTP (en)Voir et modifier les données sur Wikidata

modifier - modifier le code - voir Wikidata (aide)

ftp est un utilitaire Unix permettant d'échanger des fichiers par File Transfer Protocol[1].

Historique

[modifier | modifier le code]
Cette section est vide, insuffisamment détaillée ou incomplète. Votre aide est la bienvenue ! Comment faire ?

Commandes

[modifier | modifier le code]

Une fois lancé, le logiciel dispose d'un certain nombre de commandes. Par exemple, sous Ubuntu :

Commandes
ascii
bell
binary
bye
case
cd
cdup
chmod
close
cr
get
help
ls
mdelete
mget
mkdir
mput
open
put
pwd
quit
rmdir
status
type
user

Exemples

[modifier | modifier le code]

Commandes de base :

user@serveur_local:~$ ftp serveur_distant
Connected to serveur_distant.
220 ProFTPD 1.3.1 Server (Debian) [IP-serveur_distant]
Name (serveur_distant:root): root
331 Password required for root
Password:
230 User root logged in
Remote system type is UNIX.
Using binary mode to transfer files.

ftp> put /root/fichier-local fichier-distant
local: /root/fichier-local remote: fichier-distant
200 PORT command successful
150 Opening BINARY mode data connection for fichier-distant
226 Transfer complete
36 bytes sent in 0.00 secs (270.4 kB/s)

ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
-rw-r--r--   1 root   root         36 Apr  9 13:53 fichier-distant
226 Transfer complete

ftp> mdelete fichier-distant
mdelete fichier-distant?
250 DELE command successful

ftp> ls
200 PORT command successful
150 Opening ASCII mode data connection for file list
226 Transfer complete

ftp> mkdir home
257 "home" : The directory was successfully created

ftp> cd home
250 OK. Current directory is /home

ftp> mput *
...

ftp> quit
221 Goodbye.
user@serveur_local:~$

Pour un batch de sauvegarde[2] :

tar czf - /dossier_local | curl ftp://utilisateur:mot_de_passe@serveur_distant/dossier_distant-$(date +%Y%m%d%H%M).tar.gz -T -

Notes et références

[modifier | modifier le code]
  1. ↑ (en) man ftp
  2. ↑ « Documentation et Tutoriels », sur ovh.com (consulté le 7 avril 2023).

Voir aussi

[modifier | modifier le code]
  • cURL
v · m
Commandes Unix
Aide
  • uname
  • apropos
  • help
  • file
  • history
  • info
  • man
  • type
  • whatis
Environnement utilisateur
  • env
  • dmesg
  • finger
  • halt
  • id
  • init
  • logname
  • mesg
  • passwd
  • reboot
  • shutdown
  • su
  • sudo
  • talk
  • uptime
  • w
  • wall
  • who
  • whoami
  • write
Gestion de processus
  • at
  • bg
  • chroot
  • crontab
  • disown
  • exit
  • fg
  • htop
  • iowait
  • jobs
  • kill
  • nice
  • nohup
  • pkill
  • ps
  • pstree
  • sleep
  • time
  • top
Manipulation de texte
  • awk (gawk)
  • banner
  • bash
  • cat
  • clear
  • cut
  • diff
  • ed
  • ex
  • head
  • join
  • nl
  • paste
  • patch
  • read
  • sed
  • sort
  • strings
  • tail
  • tee
  • tr
  • uniq
  • vi
  • vim
  • wc
Programmation shell
  • alias
  • basename
  • dirname
  • echo
  • expr
  • false
  • printf
  • set
  • test
  • true
  • unset
  • wait
Recherche
  • find
  • grep
  • locate
  • whereis
  • which
Réseau
  • cURL
  • ethtool
  • ftp
  • host
  • ifconfig
  • mail
  • mailx
  • mii-tool
  • nc
  • netstat
  • ping
  • rlogin
  • ssh
  • sftp
  • telnet
  • traceroute
  • wget
Système de fichiers
  • cd
  • chgrp
  • chmod
  • chown
  • cp
  • dd
  • df
  • dir
  • du
  • file
  • less
  • ln
  • ls
  • lsof
  • mkdir
  • more
  • mount
  • mv
  • pwd
  • rm
  • rmdir
  • split
  • touch
  • tree
  • umask
  • umount
Divers
  • bc
  • dc
  • cal
  • date
  • fc
  • lp
  • lpr
  • md5sum
  • icône décorative Portail de l’informatique
Ce document provient de « https://fr.teknopedia.teknokrat.ac.id/w/index.php?title=Ftp_(Unix)&oldid=207471596 ».
Catégories :
  • Commande Unix
  • Client FTP
Catégories cachées :
  • Page utilisant P31
  • Article utilisant une Infobox
  • Article avec une section vide ou incomplète
  • Portail:Informatique/Articles liés
  • Portail:Technologies/Articles liés

  • indonesia
  • Polski
  • الرية
  • Deutsch
  • English
  • Español
  • Français
  • Italiano
  • مصر
  • Nederlands
  • 本語
  • Português
  • Sinugboanong Binisaya
  • Svenska
  • Українска
  • Tiếng Việt
  • Winaray
  • 中文
  • Русски
Sunting pranala
Pusat Layanan

UNIVERSITAS TEKNOKRAT INDONESIA | ASEAN's Best Private University
Jl. ZA. Pagar Alam No.9 -11, Labuhan Ratu, Kec. Kedaton, Kota Bandar Lampung, Lampung 35132
Phone: (0721) 702022
Email: pmb@teknokrat.ac.id