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

Reply via email to