Re: tempupload problem

de Valensart <[email protected]>
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
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

Gauthier

Joe Orton a écrit :

>On Mon, Feb 21, 2005 at 11:15:50AM +0100, de Valensart wrote:
>  
>
>>There is the output (port on freebsd 5.2.1 and sitecopy-0.13.4_2 on 
>>another server...same problem) :
>>    
>>
>...
>  
>
>>< 227 Entering Passive Mode (xx,xx,xx,xx,174,57).
>>    
>>
>>>STOR /private/sections.php.htm
>>>      
>>>
>>< 150 Opening BINARY mode data connection for /private/sections.php.htm
>>...................Closing DTP connection...
>>< 226 Transfer complete.
>>] done.
>>    
>>
>>>QUIT
>>>      
>>>
>
>That looks like the expected output if "sections.php.htm" is a new file. 
>What is the output for a *changed* file?
>
>Show the output of:
>
> $ sitecopy yoursite
>  
>
$ sitecopy mysite
sitecopy: Showing changes to site `mysite' (on www.mysite.org in /private/)
* These items have been changed since the last update:
sections.php.htm
sitecopy: The remote site needs updating (1 item to update).

> $ sitecopy -dftp -u yoursite
>  
>

$ sitecopy -dftp -u mysite
sitecopy: Updating site `mysite' (on www.mysite.org in /private/)
Opening socket to port 21
< 220 ProFTPD 1.2.9 Server (ProFTPD) [xxx.xxxxxxxxx.NET]
FTP: Sending 'USER mysite':
 > USER mysite
< 331 Password required for mysite.
FTP: Sending PASS command...
 > PASS mypass
< 230 User mysite logged in.
Uploading sections.php.htm: [> TYPE I
< 200 Type set to I
 > PASV
< 227 Entering Passive Mode (xx,xx,xx,xx,136,150).
 > STOR /private/.in.sections.php.htm
< 150 Opening BINARY mode data connection for /private/.in.sections.php.htm
...................Closing DTP connection...
< 226 Transfer complete.
 > RNFR /private/.in.sections.php.htm
< 350 File or directory exists, ready for destination name.
 > RNTO /private/sections.php.htm
< 250 Rename successful
] done.
 > QUIT
< 221 Goodbye.
sitecopy: Update completed successfully.

>joe
>
>  
>

_______________________________________________
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.