|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hello,
unfortunatly my ISP allow only FTP and it is not realy easy to update the FTP/Webspace by hand. What I need is a full automated FTP commandline client which can sync my local mirror (Laptop) with the ISP. I mean, not only upload files but deletiong fils on the ISP's mirrors too (= creating an exact copy of my local mirror including subdirectories). Can anyone recommend a tool for this? Oh yes, it must work from inside a script without interaction. Thanks, Greetings and nice Day Michelle Konzack Systemadministrator Tamay Dogan Network Debian GNU/Linux Consultant -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGdU+/C0FPBMSS+BIRAntcAKDTEyKkqBtPL9fhq/gP5efl4TaegQCeNet9 PvzYBcROTHLVNZLpBcq9cBU= =Ci/q -----END PGP SIGNATURE----- |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Michelle Konzack wrote:
> Hello, > > unfortunatly my ISP allow only FTP and it is not realy easy to update > the FTP/Webspace by hand. > > What I need is a full automated FTP commandline client which can sync > my local mirror (Laptop) with the ISP. I mean, not only upload files > but deletiong fils on the ISP's mirrors too (= creating an exact copy > of my local mirror including subdirectories). > > Can anyone recommend a tool for this? > I think lftp is your best bet. /Magnus -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 06/17/07 10:14, Michelle Konzack wrote:
> Hello, > > unfortunatly my ISP allow only FTP and it is not realy easy to update > the FTP/Webspace by hand. > > What I need is a full automated FTP commandline client which can sync > my local mirror (Laptop) with the ISP. I mean, not only upload files > but deletiong fils on the ISP's mirrors too (= creating an exact copy > of my local mirror including subdirectories). > > Can anyone recommend a tool for this? > > Oh yes, it must work from inside a script without interaction. ncftpput might be able to simulate what you want. -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
> Can anyone recommend a tool for this?
Also "ckermit". It belongs to non-free because of some cryptography options (I think -- I am not sure). http://www.columbia.edu/kermit/ftpclient.html http://packages.debian.org/ckermit We used it with this program 2 years ago. http://wiki.freaks-unidos.net/file-mirror This one will only send the files that changed Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Am 2007-06-17 17:27:30, schrieb Magnus Pedersen:
> I think lftp is your best bet. I have tried it already but it does not delete files in the ISP server. It upload only files and maybe override existing ones but not deleting files which I do not more have local. Thanks, Greetings and nice Day Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGeTnQC0FPBMSS+BIRAvhgAJ9jWFzVThgaDlXOb8FPGs CFSwyzywCdHKhC 0EpN7Mzx7uUxP1q7A89XLQQ= =AnnK -----END PGP SIGNATURE----- |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Hello Magnus,
Am 2007-06-17 17:27:30, schrieb Magnus Pedersen: > I think lftp is your best bet. Since I must execute lftp from a script with lftp -f ${SCRIPT_FILE} I have create a file : +----[ '~/freenet/linux4michelle.scr' ]--------------- | user linux4michelle ${PASS} | open ftp://people-ftp.freenet.de/ | mirror --no-symlinks --no-perms --no-umask \ | --dereference --reverse --delete \ | --only-newer --only-missing \ | ${HOME}/freenet/linux4michelle/ \ | ftp://people-ftp.freenet.de/ | exit +----------------------------------------------------- and want to ask you, whether this is right or not, IF it should 1) delete all files on the ISP server which are not in the local directory ${HOME}/freenet/linux4michelle/ 2) upload all files recursivly from the local directory ${HOME}/freenet/linux4michelle/ to the ISP Server if a) the file does not exist b) the local file is newer as the one on the server 3) Do not try to change perms, umnask since my ISP care about it 4) and then exit Sorry, if I have forgotten my password and used only ${PASS} but my age hit me... :-) Oh, I must be very careful with the script since I have several 1000 files in the ISP server Thanks, Greetings and nice Day Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGeToSC0FPBMSS+BIRAkdgAKCqbZJlxoZVBIjUHqaFsv RmGnQq9wCgrz82 YQ+8jpBh9y5sEhUSuZAR4Wk= =fS+Q -----END PGP SIGNATURE----- |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Am 2007-06-17 11:01:05, schrieb Ron Johnson:
> ncftpput might be able to simulate what you want. Unfortunatly not. It delete ONLY local files if they are successfuly uploaded. What I need is: 1) Get a list of local files from a directory 2) Look into the remote directory and delete ALL files which ARE NOT in the local directory. 3) Upload all files which are a) local newer then remote b) do remote not exist It is more clear? Thanks, Greetings and nice Day Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/ ##################### Debian GNU/Linux Consultant ##################### Michelle Konzack Apt. 917 ICQ #328449886 50, rue de Soultz MSN LinuxMichi 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFGeToGC0FPBMSS+BIRAl/TAJ0XXijyBZaQE2JDvrSSJUKPw/wgXQCg1WjE wTbYEJEVdGQES2tGnbMCDhA= =8EF4 -----END PGP SIGNATURE----- |
|
|
|
#8 |
|
Messages: n/a
Hébergeur: |
On Sun, Jun 17, 2007 at 05:14:07PM +0200, Michelle Konzack wrote:
> Hello, > > unfortunatly my ISP allow only FTP and it is not realy easy to update > the FTP/Webspace by hand. > > What I need is a full automated FTP commandline client which can sync > my local mirror (Laptop) with the ISP. I mean, not only upload files > but deletiong fils on the ISP's mirrors too (= creating an exact copy > of my local mirror including subdirectories). > > Can anyone recommend a tool for this? > > Oh yes, it must work from inside a script without interaction. # apt-get install sitecopy looks like exactly what you're after Hope this s -- Karl E. Jorgensen karl@jorgensen.org.uk http://www.jorgensen.org.uk/ karl@jorgensen.com http://karl.jorgensen.com ==== Today's fortune: Hope not, lest ye be disappointed. -- M. Horner -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGecyGi+PVvwZpXJgRAjsZAJ9uotqkYR+NflmHO8SnNQ 8tBLnzSACeN39R AwsAflW1lykhc4V7pwy+3Rs= =9rR5 -----END PGP SIGNATURE----- |
|
|
|
#9 |
|
Messages: n/a
Hébergeur: |
Michelle Konzack <linux4michelle@freenet.de> wrote:
MK> unfortunatly my ISP allow only FTP and it is not realy easy to update MK> the FTP/Webspace by hand. yep, same situation i was in. use ftpsync. $ ftpsync -s $isp-ip -v -u $username -p $passwd -r / -l /local/mirror lish "i have holes poked in me crank@got.net rendering me useless to collectors." -jerkcity -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|