Re: Set idle timeout?

Volker Kuhlmann <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
> > Using --debug=ftp shows that sitecopy is still verifying the
> > modification times of the files on the server when the session times
> > out.

Sitecopy checks the times by downloading a directory listing via ftp,
and checking that against the local files. If the server times out while
the listing is being downloaded, then it's a server problem (overload)
or network problem (also overload). Neither should happen within the
timeouts typically used by ftp servers, which should be at least 60
seconds.

> > Is there a way to tell sitecopy to send the ftp idle command to increase
> > the timeout?
> 
> No, I don't know of any way to do this with FTP.  Are you referring to 
> some server-specific command which is available, or something?

Joe, there is an ftp idle command (ftp to somewhere, then type help at
the prompt and your ftp client should tell you) which modifies the
timeout in seconds used by the ftp server. This timeout is applied while
the tcp/ftp is open and no command is received from the client (or
perhaps while no data has been transferred either way). For sitecopy
this should not be relevant as the next ftp command is issued by
sitecopy as soon as the previous one finishes. I find it somewhat hard
to believe that sitecopy would need more than 60 seconds to check a
listing against the local store, or could this indeed happen on very
large directories with a slow local computer?

Volker

-- 
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.dnsalias.net/		Please do not CC list postings to me.
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.