Re: MKDIR Problem

Kees <[email protected]> Mon, 12 Mar 2012 15:01:10 +0800
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
--===============1767641383==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 02/25/2012 01:00 AM, <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> wrote:
    <blockquote
      cite="mid:[email protected]"
      type="cite">
      <pre wrap="">Message: 1
Date: Fri, 24 Feb 2012 09:13:15 +1300
From: Tom Robinson <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
Subject: Re: MKDIR Problem
Cc: <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">"[email protected]"</a> <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
Content-Type: text/plain;	charset=us-ascii

That's a standard limitation of FTP servers so sitecopy should handle it fine. What's the symptoms?
</pre>
    </blockquote>
    <br>
    Firstly my apologies for being so long in replying, I have been
    incredibly busy the last few weeks. Thank you very much for willing
    to help. Here is a description of the problem I am having. If you
    can help me out with this one, I would be very thankful.<br>
    <br>
    My .sitecopyrc file says:<br>
    <br>
    <blockquote>site kees<br>
      &nbsp;&nbsp; server &lt;my server&gt;<br>
      &nbsp;&nbsp; remote /Kees/mysite<br>
      &nbsp;&nbsp; local /data/mysite/<br>
      &nbsp;&nbsp; username Kees<br>
      &nbsp;&nbsp; password ****<br>
      &nbsp;&nbsp; ftp showquit<br>
      &nbsp;&nbsp; ftp usecwd<br>
      &nbsp;&nbsp; state timesize<br>
      &nbsp;&nbsp; checkmoved<br>
    </blockquote>
    <br>
    Which gives me the following result (created the TMP directory to
    trigger the error I get):<br>
    <br>
    <blockquote>sitecopy --debug=ftp --storepath /data/.sitecopy/
      --update kees<br>
      sitecopy: Updating site `kees' (on &lt;my server&gt; in
      /Kees/mysite/)<br>
      Opening socket to port 21<br>
      &lt; 220---------- Welcome to Pure-FTPd [TLS] ----------<br>
      &lt; 220-You are user number 1 of 10 allowed.<br>
      &lt; 220-Local time is now 07:44. Server port: 21.<br>
      &lt; 220-This is a private system - No anonymous login<br>
      &lt; 220 You will be disconnected after 15 minutes of inactivity.<br>
      FTP: Sending 'USER Kees':<br>
      &gt; USER Kees<br>
      &lt; 331 User Kees OK. Password required<br>
      FTP: Sending PASS command...<br>
      &gt; PASS ...<br>
      &lt; 230 OK. Current restricted directory is /<br>
      Creating TMP/: &gt; MKD /Kees/mysite/TMP<br>
      &lt; 550 Can't create directory: No such file or directory<br>
      failed:<br>
      550 Can't create directory: No such file or directory<br>
      <br>
      &gt; QUIT<br>
      &lt; 250-Goodbye. You uploaded 0 and downloaded 0 kbytes.<br>
      &lt; 250-OK. Current directory is /<br>
      &lt; 250 Logout.<br>
      sitecopy: Errors occurred while updating the remote site.<br>
    </blockquote>
    <br>
    <br>
    <br>
    <br>
    <blockquote
      cite="mid:[email protected]"
      type="cite">
      <pre wrap="">
Sent from my iPhone

On 22/02/2012, at 16:35, Kees Vonk <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">I am trying to use sitecopy to copy things to a remote NAS device. The
FTP server on the device seems very limited and does not allow you to
create multiple levels of directories (like "mkdir -p"). Instead you
have to go into each directory and create the next level of
directories in there. Is there a way I can tell sitecopy to do this?

Thanks,
Kees
</pre>
      </blockquote>
      <pre wrap="">


------------------------------

_______________________________________________
sitecopy mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.manyfish.co.uk/mailman/listinfo/sitecopy">http://lists.manyfish.co.uk/mailman/listinfo/sitecopy</a>


End of sitecopy Digest, Vol 21, Issue 2
***************************************
</pre>
    </blockquote>
    <br>
  </body>
</html>


--===============1767641383==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
sitecopy mailing list
[email protected]
http://lists.manyfish.co.uk/mailman/listinfo/sitecopy

--===============1767641383==--