Bonjour...
Comment fait on pour créer un fichier .txt avec la liste de mes fichiers contenus dans un dossier distant ftp.
ls > liste.txt me crée un fichier mais vide !
Merci
Bonjour...
Comment fait on pour créer un fichier .txt avec la liste de mes fichiers contenus dans un dossier distant ftp.
ls > liste.txt me crée un fichier mais vide !
Merci
Es-tu sûr de la syntaxeEnvoyé par coincoin22
![]()
ls [remote-directory] [local-file]
Print a listing of the contents of a directory on the remote machine. The listing includes any system-dependent information that the server chooses to include; for example, most systems will produce output from the command (See also nlist . ) If remote-directory is left unspecified, the current working directory is used. If interactive prompting is on, ftp will prompt the user to verify that the last argument is indeed the target local file for receiving ls output. If no local file is specified, or if local-file is the output is sent to the terminal.
Yop,
les crochets signifient que cela est optionnel... -_-'
F-k-z
Partager