Re: sitecopy Digest, Vol 22, Issue 3

Kees <[email protected]> Tue, 13 Mar 2012 12:18:40 +0800
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
On 03/13/2012 12:00 AM, [email protected] wrote:
> Message: 2
> Date: Mon, 12 Mar 2012 10:44:01 +0100
> From: "J.J.Green" <[email protected]>
> Subject: Re: MKDIR Problem
> To: [email protected]
> Message-ID: <1331545441.2105.2.camel@cyrus>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi,
>
>>         < 230 OK. Current restricted directory is /
>>         Creating TMP/: > MKD /Kees/mysite/TMP
>>         < 550 Can't create directory: No such file or directory
>>         failed:
>>         550 Can't create directory: No such file or directory
> That looks like either /Kees or /Kees/mysite does not exist
> on the server, sitecopy does not handle the creation of the
> base directory if it does not exist (which is the correct 
> behaviour I think).
>
> Cheers
>
> Jim

Both /Kees and /Kees/mysite exist, /Kees was always there and /mysite I
created manually (if I manually create the directory tree .sitecopy
works, but that is not very practical).

Have a look at this (unless sitecopy converts everything to lower (or
upper) case, everything is there):

$ ftp <my server>
Connected to <my server>
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 10 allowed.
220-Local time is now 05:07. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 15 minutes of inactivity.
Name: Kees
331 User Kees OK. Password required
Password:
230 OK. Current restricted directory is /
Remote system type is UNIX.
Using binary mode to transfer
files.                                                                                                

ftp>
dir                                                                                                                            

200 PORT command
successful                                                                                                         

150 Connecting to port
5464                                                                                                         

drwxrwxrwx    8 0        0            1024 Mar 13 05:07
.                                                                           

drwxrwxrwx    8 0        0            1024 Mar 13 05:07
..                                                                          

drwxrwsrwx    6 501      0            4096 Feb 19 10:01
Kees                                                                        

[... snipped ...]
226-Options: -a
-l                                                                                                                  

226 8 matches
total                                                                                                                 

ftp> cd kees
550 Can't change directory to kees: No such file or directory
ftp> cd Kees
250 OK. Current directory is /Kees
ftp> dir
200 PORT command successful
150 Connecting to port 5755
drwxrwsrwx    6 501      0            4096 Feb 19 10:01 .
drwxrwxrwx    8 0        0            1024 Mar 13 05:11 ..
[... snipped ...]
drwxrwsrwx    6 516      0            4096 Mar 12 07:40 mysite
[... snipped ...]
226-Options: -a -l
226 7 matches total
ftp>