LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-27-2009, 03:39 AM   #1
ycxbiao
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Question lftp mirror problem


I want to mirror a remote ftp site by using the command below:
lftp -c "mirror --use-pget-n=6 --ignore-time --verbose ftp://usrnameasswd@XXX.XXX.XXX.XXX/ /home/ftptest/lftp/log”
This command does work, and i make this command execute at every 3-minute interval by crontab settings.
But the problem is, when it was downloading a file at the ftp site which is too big to be finished in 3 minutes, it will continue downloading it in next time interval when the command is launched again, however, after serveral intervals, i found the size of the file at my local machine doesn't grow consistently, but loops between some two values.
I am so confused by this problem, did i do sth wrong in using this command?
 
Old 09-27-2009, 09:42 PM   #2
ycxbiao
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Red face Anyone can help me ???

Below is the size varation of the file a.iso

[root@cadillac log]# ls -l
total 16692
-rw-r--r-- 1 root root 542822694 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 34440
-rw-r--r-- 1 root root 545988022 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 53804
-rw-r--r-- 1 root root 549332902 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 65232
-rw-r--r-- 1 root root 550985070 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 87064
-rw-r--r-- 1 root root 554680366 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 104156
-rw-r--r-- 1 root root 557739990 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 130656
-rw-r--r-- 1 root root 562467710 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 150424
-rw-r--r-- 1 root root 565278278 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 180292
-rw-r--r-- 1 root root 570253606 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 237988
-rw-r--r-- 1 root root 580043534 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 324024
-rw-r--r-- 1 root root 595865830 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 357932
-rw-r--r-- 1 root root 601999558 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 380348
-rw-r--r-- 1 root root 605519646 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 422136
-rw-r--r-- 1 root root 612093566 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 447064
-rw-r--r-- 1 root root 616214574 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 464860
-rw-r--r-- 1 root root 619174286 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 474532
-rw-r--r-- 1 root root 620939398 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 493488
-rw-r--r-- 1 root root 624268350 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 519808
-rw-r--r-- 1 root root 627630606 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 533568
-rw-r--r-- 1 root root 629857630 Sep 28 10:34 a.iso

[root@cadillac log]# ls -l
total 556436
-rw-r--r-- 1 root root 632772454 Sep 28 10:35 a.iso

[root@cadillac log]# ls -l
total 576100
-rw-r--r-- 1 root root 540772326 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 635181926 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 616144
-rw-r--r-- 1 root root 544471966 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 639275422 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 688064
-rw-r--r-- 1 root root 550956110 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 646012966 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 711924
-rw-r--r-- 1 root root 554655750 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 647654998 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 737284
-rw-r--r-- 1 root root 558549422 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 647686144 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 888556
-rw-r--r-- 1 root root 582386398 Sep 28 10:35 a.iso
-rw-r--r-- 1 root root 647686144 Sep 28 10:35 a.iso~

[root@cadillac log]# ls -l
total 538768
-rw-r--r-- 1 root root 542954462 Sep 28 10:36 a.iso
-rw-r--r-- 1 root root 627160006 Sep 28 10:36 a.iso~

[root@cadillac log]# ls -l
total 651908
-rw-r--r-- 1 root root 551761198 Sep 28 10:36 a.iso
-rw-r--r-- 1 root root 635881310 Sep 28 10:36 a.iso~
 
  


Reply

Tags
lftp, mirror


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp mirror problem crusher88 Linux - Software 2 08-14-2009 01:03 AM
filezilla setting and lftp:mirror help samengr Linux - General 0 01-25-2008 05:51 AM
lftp problem mesh2005 Linux - Software 4 05-03-2007 07:06 AM
problem in lftp gopi_raghu Linux - Software 2 02-08-2007 05:31 AM
lftp problem bipins1979 Linux - General 1 06-21-2006 10:20 AM


All times are GMT -5. The time now is 02:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration