Re: tempupload problem
de Valensart <[email protected]>
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
When the next release will be available for freebsd ?
Is it possible to patch the actual installation easily?
Thanks for your help
Gauthier
Joe Orton a écrit :
>On Sat, Feb 26, 2005 at 01:10:20PM +0100, de Valensart wrote:
>
>
>>I have changed one file and give you the output.
>>It renames well the file but i will that i rename the file even if the
>>file don't exist on the remote server.
>>Is it possible?
>>Thanks
>>
>>
>
>I don't see any reason why not, really. I've applied the following
>patch for the next release:
>
>Index: src/sites.c
>===================================================================
>--- src/sites.c (revision 474)
>+++ src/sites.c (working copy)
>@@ -523,7 +523,7 @@
> file_uploaded(current, site);
> break;
> }
>- } else if (site->tempupload && (current->diff == file_changed)) {
>+ } else if (site->tempupload) {
> /* Do temp file upload followed by a move */
> char *temp_remote = temp_upload_filename(full_remote, site);
> if (CALL(file_upload)(session, full_local, temp_remote,
>
>
>
_______________________________________________
sitecopy maillist - [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy