[lkml]   [2001]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: FTP query
On Wed, Nov 07, 2001 at 07:33:48PM +0530, wrote:
> Hi,
> Sorry for posting it to the wrong list. But people here can surely help me
> out.
> Let us suppose a operator is FTPing a file "temp.c" to a folder "/home/work".
> And a process "A" is monitoring "/home/work". How would process "A" would know a
> file "temp.c" is completely transfered in "/home/work"
> Please CC it to me as I am not subscribed to list

There are several ways, some only available to a root process...

Root priv required:
run lsof -n on the file to see if the ftp server still has it open...

normal user:
monitor modified time and size over a period of time to see if it has
changed in that time, if not, it's done...

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.034 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site