curl-library
RE: How to disable FTP file upload overwrite??
Date: Tue, 29 Jul 2008 18:12:01 +0000
> Mohun Biswas wrote:
> > Tiago Conceição wrote:
>
> >> thanks, and how can i do a clean/fast file exist check?
>
> > The answer is access() or stat(). But at this point you're drifting well
> > beyond libcurl and into basic programming issues which are better
> > addressed elsewhere.
>
> No, I think he wants to check the existence of
> the remote file, not a local one. Probably the
> easiest answer is to do a CURLOPT_NOBODY request
> first and check the return value/response code.
> But unfornately, for FTP that means going through
> the login process twice.
>
can post an exemple?? i tryed very things but no work :(
_________________________________________________________________
Conheça o Windows Live Spaces, a rede de relacionamentos do Messenger!
http://www.amigosdomessenger.com.br/
Received on 2008-07-29