|
FTP commandes de base et connaissances pratiques
Commandes de base
- ftp -> Commencement d'une session.
- ls -> Contenu d'un répertoire.
- cd -> Changement de répertoire.
- pwd -> Où suis-je ?
- binary -> passage en mode binaire (images, logiciels...)
- get -> chargement d'un fichier
- put -> dépôt d'un fichier.
Différents types de fichier.
|
Suffixe
|
Type MIME
|
Type de fichier
|
|
Texte
|
|
|
- text/plain
- text/postcript
- text/html
|
- texte brut
- postscript
- HTML
|
|
Images
|
- .gif
- .jpeg, .jpg, . jpe
- .tiff, .tif
|
- image/gif
- image/jpeg
- image/tiff
|
- GIF compuserve (très répandu)
- jpeg : bonne compression
- tiff : complet mais lourd
|
|
Sons
|
|
|
- audio/basic
- audio/x-wav
- x-music/x-midi
|
|
|
Videos
|
- .qt,
- .mpeg,.mpg, . mpe
- .avi
|
- video/quicktime
- video/mpeg
- video/x-msvideo
|
- QuickTime (Apple)
- MPEG
- MicroSoft
|
|
Divers
|
|
|
|
- Virtual Reality Modeling Langage
|
Fichiers comprimés:
|
Suffixe
|
Type fichier / Manipulation pour l'extraction
|
|
.gz
|
gunzip toto.gz
|
|
.z ou .zip
|
unzip toto.zip
|
|
.Z
|
uncompress toto.Z
|
|
.tar
|
tar xvf toto.tar
|
|
.hqx
|
fichier Macintosh (Stuffit Expander, Compact Pro...)
|

|