hi JS and Robins ,
           thanks for replying , i was trying to tweak the wget
parameters and finally i could do it by issuing a command like 
wget -c -q -P/path/to/download /file/to/download ... working fine now ,
-c and -q are just general parameters .. the rest did the job ..
                        thanks again guys ,
                        all the best ...
                        Sohel

Robins Tharakan wrote:
> 
> i just tried this out..
> i think you might be downloading a BIG file. (or else a simple change in
> the script could do the job...)
> 
> but i think what needs to be done is a simple
> mv /home/sohel/file /home/sohel/download/file
> 
> why this works is because all file accesses work on the inodes and NOT
> on the file name / location. therefore unlike DOS/win, a move can be
> done even though someone is writing to that file...
> (infact a "tcpdump -i eth1 > testfile &; mv testfile dir/testfile" just
> worked for me...)
> 
> just that if the downloading is being continued some other time (a part
> download) then you'd need to change the script once the current running
> program stops...)
> 
> hope this helps.
> 
> affly
> robins
> 
> On Thu, 2003-09-04 at 17:52, Sohel Shaheen Mallik wrote:
> > Hi there all,
> >          i am having a problem is there any sol.. say i have a script a
> > .pl file invoking a wget command to download a series of files , say my
> > file is located at /home/sohel/download  and if the cron is firing it
> > whatever is downloaded , gets downloaded to /home/sohel .. now is there
> > a way to get the downloaded files to /home/sohel/download at they are
> > being downloaded ...
> 
> _______________________________________________
> ilugd mailing list
> [EMAIL PROTECTED]
> http://frodo.hserus.net/mailman/listinfo/ilugd

-- 

       _______ 
       !\---/!  
        .--.         
     0-|o_o |-0      
     ! |:_/ | !    
      //   \ \     
     (| FSF | )    
    /'\    _/`\    
    \___)=(___/    
+-------------------------------------------------------+             
| Sohel Shaheen Mallik                                  |
| Tathya Dot Com Pvt. Ltd. (http://www.tathya.com)      |
| E-mail: [EMAIL PROTECTED]                             |
| WWW: http://sohel.fateback.com                        |
| ICQ :: 165534383                                      |
| Phone: +91 033 2573 4224/8041                         |
| Mon-Fri(9:30-6:30 IST) | Sat :: 9:30-1:30 IST         |
+-------------------------------------------------------+

_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to