CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

Sh qui ne peut pas se logguer (FTP)

DasHuhn
DasHuhn
Niveau 10
21 juillet 2004 à 18:02:41

Bonjour/soir,

J´ai fait un petit script sensé récuperer à partir d´un FIFO le nom d´un fichier pour l´envoyer après. Voici sa source :

  1. !/bin/bash

while ( true)
do
(
read file < / home/dashuhn/FIFO
ftp -n localhost < <- EOF
user test azerty
put $file
bye
EOF
)
done

Pendant l´execution, le serveur FTP en local répond :
AUTH not understood
AUTH not understood
KERBEROS_V4 rejected as an authentication type

Alors que à la main avec ftp et l´option -n, la commande user fonctionne parfaitement :s

panther751
panther751
Niveau 10
21 juillet 2004 à 18:24:42

Suite à ton post sur le forum Mac, je te répond:

Moi que je fasse ´ftp -n localhost´´ftp -n localhost´ ou ton script, ca ne change rien, il me répond:

AUTH not understood
AUTH not understood
KERBEROS_V4 rejected as an authentication type

Mais avec ´ftp -n localhost´, il arrive à se loguer contrairement a ton script.

DasHuhn
DasHuhn
Niveau 10
21 juillet 2004 à 18:26:12

Super claire ta réponse :P

J´ai fait le coup du ´ftp -n localhost´ et oui ça fonctionne.

panther751
panther751
Niveau 10
21 juillet 2004 à 18:38:42

Désolé mais je ne vois pas comment être plus clair...

panther751
panther751
Niveau 10
21 juillet 2004 à 18:40:51

Ah oui juste un problème de copier/coller, il fallait lire:

Moi que je fasse ´ftp -n localhost´ ou ton script, ca ne change rien, il me répond:

AUTH not understood
AUTH not understood
KERBEROS_V4 rejected as an authentication type

Mais avec ´ftp -n localhost´, il arrive à se loguer contrairement a ton script.

DasHuhn
DasHuhn
Niveau 10
23 juillet 2004 à 18:26:06

Up ?

Sous forums
  • Aide à l'achat Mac
  • Macintosh
  • Création de Jeux
  • Programmation
  • Création de sites web
  • Linux
  • Internet
  • Steam Deck
  • Hardware