[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [LFTP...]



Bonjour,

Le ven 12 sep 2003, à 11 h 29 min 40 s  (UTC +0200),
vous (RL.ROUBEAU) avez écrit :

> Voilà mon problème,  je voudrais créer une cron  pour transférer des
> fichiers sur  un serveur ftp  !  Avec lftp user:mdp@nomduftp  pas de
> problème !  Ensuite mput nomarchive.tar.bz2 pas de problème non plus
> ! Mais comment  combiner les deux ?! J'ai  tenté plusieurs fois mais
> sans résultats...  Merci.

script /home/cheztoi/.lftp/update
,----
| open -u user,psswd IP
| mput /var/www/zigomaths/*.html
| mput /var/www/zigomaths/*.css
| mput /var/www/zigomaths/*.jpg
| mput /var/www/zigomaths/*.png
| echo mise à jour effectuée
`----

puis :
lftp -f /home/cheztoi/.lftp/update'

à +
ph
-- 
On est toujours le con de quelqu'un. Il m'arrive parfois de me le
reprocher.



Reply to: