Erreur lftp
atouchme
Messages postés
263
Statut
Membre
-
zipe31 Messages postés 38797 Date d'inscription Statut Contributeur Dernière intervention -
zipe31 Messages postés 38797 Date d'inscription Statut Contributeur Dernière intervention -
Bonjour a tous,
Alors voila j'ai un script LFTP qui sauvegarde un dossier sur mon serveur NAS (en mirror), cependant j'ai 9 erreurs de transfert et je n'arrive pas a les trouver. j'ai regardé dans le fichier transfert_log mais je ne trouve pas les fichiers en question.
qu'elqu'un serait-il comment trouver mes fichiers qui refuse de se transférer?
merci
cdt
Alors voila j'ai un script LFTP qui sauvegarde un dossier sur mon serveur NAS (en mirror), cependant j'ai 9 erreurs de transfert et je n'arrive pas a les trouver. j'ai regardé dans le fichier transfert_log mais je ne trouve pas les fichiers en question.
qu'elqu'un serait-il comment trouver mes fichiers qui refuse de se transférer?
merci
cdt
A voir également:
- Erreur lftp
- Erreur 0x80070643 - Accueil - Windows
- Erreur 0x80070643 Windows 10 : comment résoudre le problème de la mise à jour KB5001716 - Accueil - Windows
- Erreur 4101 france tv - Forum Lecteurs et supports vidéo
- Erreur 4201 france tv ✓ - Forum Réseaux sociaux
- Code erreur f3500-31 ✓ - Forum Bbox Bouygues
1 réponse
Salut,
Extrait du man lftp :
Extrait du man lftp :
mirror [OPTS] [source [target]]
Mirror specified source directory to local target directory.
If target directory ends with a slash, the source base name
is appended to target directory name. Source and/or target
can be URLs pointing to directories.
-c, --continue continue a mirror job if possible
-e, --delete delete files not present at remote site
--delete-first delete old files before transferring new ones
--depth-first descend into subdirectories before transferring files
-s, --allow-suid set suid/sgid bits according to remote site
--allow-chown try to set owner and group on files
--ascii use ascii mode transfers (implies --ignore-size)
--ignore-time ignore time when deciding whether to download
--ignore-size ignore size when deciding whether to download
--only-missing download only missing files
--only-existing download only files already existing at target
-n, --only-newer download only newer files (-c won't work)
--no-empty-dirs don't create empty directories (implies --depth-first)
-r, --no-recursion don't go to subdirectories
--no-symlinks don't create symbolic links
-p, --no-perms don't set file permissions
--no-umask don't apply umask to file modes
-R, --reverse reverse mirror (put files)
-L, --dereference download symbolic links as files
-N, --newer-than=SPEC download only files newer than specified time
--on-change=CMD execute the command if anything has been changed
--older-than=SPEC download only files older than specified time
--size-range=RANGE download only files with size in specified range
-P, --parallel[=N] download N files in parallel
--use-pget[-n=N] use pget to transfer every single file
--loop loop until no changes found
-i RX, --include RX include matching files
-x RX, --exclude RX exclude matching files
-I GP, --include-glob GP include matching files
-X GP, --exclude-glob GP exclude matching files
-v, --verbose[=level] verbose operation
--log=FILE write lftp commands being executed to FILE
--script=FILE write lftp commands to FILE, but don't execute them
--just-print, --dry-run same as --script=-
--use-cache use cached directory listings
--Remove-source-files remove files after transfer (use with caution)
-a same as --allow-chown --allow-suid --no-umask
When using -R, the first directory is local and the second
is remote. If the second directory is omitted, base name of
first directory is used. If both directories are omitted,
current local and remote directories are used. If target
directory ends with a slash (except root directory) then
base name of source directory is appended.
RX is an extended regular expression, just like in egrep(1).
GP is a glob pattern, e.g. '*.zip'.
Include and exclude options can be specified multiple times.
It means that a file or directory would be mirrored if it
matches an include and does not match to excludes after the
include, or does not match anything and the first check is
exclude. Directories are matched with a slash appended.
Note that symbolic links are not created when uploading to
remote server, because ftp protocol cannot do it. To upload
files the links refer to, use 'mirror -RL' command (treat
symbolic links as files).
For option --newer-than you can either specify a file or
time specification like that used by at(1) command, e.g.
'now-7days' or 'week ago'. If you specify a file, then modi-
fication time of that file will be used.
Verbosity level can be selected using --verbose=level option
or by several -v options, e.g. -vvv. Levels are:
0 - no output (default)
1 - print actions
2 - +print not deleted file names (when -e is not specified)
3 - +print directory names which are mirrored