<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Se ti serve di automatizzare il procedimento puoi usare pexpect.<br>
    Inoltre se non ricordo male, in pexpect c'è il metodo read() che ti
    permette di leggere l'output.<br>
    <br>
    Maggiori info le trovi qui.<br>
    <a
href="http://www.google.it/url?sa=t&source=web&cd=1&ved=0CBgQFjAA&url=http%3A%2F%2Fpexpect.sourceforge.net%2Fpexpect.html&rct=j&q=pexpect%20read%20output&ei=zkcdTs6iAsueOo7JhJEJ&usg=AFQjCNGbTqOhMjFccpaksLT8oWQSVArw-g&sig2=CpFfas7YiHGnLXnr5SlcmQ&cad=rja">link</a><br>
    <br>
    Prova a vedere se ti può essere utile.<br>
    Ciao<br>
    <br>
    Il 13/07/2011 01:30, Marco Beri ha scritto:
    <blockquote
cite="mid:CAN1J36iq=-xn-8RK448EzD=hBH1eVaVF4mybhsCo24mQixiUsA@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">2011/7/13 Freeze NorthPole <span
          dir="ltr"><<a moz-do-not-send="true"
            href="mailto:freeze782@gmail.com">freeze782@gmail.com</a>><br>
        </span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          conoscete qualche comando più opportuno per fare in modo di
          ottenere un elenco dei file sul server ?<br>
        </blockquote>
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="http://stackoverflow.com/questions/111954/using-pythons-ftplib-to-get-a-directory-listing-portably">http://stackoverflow.com/questions/111954/using-pythons-ftplib-to-get-a-directory-listing-portably</a></div>
        <div> </div>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">oppure esiste qualche libreria di python
          che mi permette di fare il confronto dei file sul pc con
          quelli sul server?<br>
        </blockquote>
        <div><br>
        </div>
        <div>Se la directory fosse "mappabile" via rete potresti usare <a
            moz-do-not-send="true"
            href="http://docs.python.org/library/filecmp.html">http://docs.python.org/library/filecmp.html</a></div>
        <div><br>
        </div>
        <div>Siccome la tua è una directory remota cui accedi via ftp,
          dovrai fare un po' di lavoro da solo, magari leggendo il
          sorgente di lib/filecmp.py oppure guardare qualche risposta
          simile:</div>
        <div><a moz-do-not-send="true"
href="http://stackoverflow.com/questions/5021838/how-to-compare-directories-to-determine-which-files-have-changed">http://stackoverflow.com/questions/5021838/how-to-compare-directories-to-determine-which-files-have-changed</a></div>
        <div><a moz-do-not-send="true"
href="http://stackoverflow.com/questions/4187564/recursive-dircmp-compare-two-directories-to-ensure-they-have-the-same-files-and">http://stackoverflow.com/questions/4187564/recursive-dircmp-compare-two-directories-to-ensure-they-have-the-same-files-and</a></div>
        <div><br>
        </div>
        <div>Ma la cosa migliore in assoluto è usare google... :-)</div>
        <div><br>
          Ciao.</div>
        <div>Marco.</div>
        <div><br>
        </div>
      </div>
      -- <br>
      <div>
        <div>
          <div>
            <div><a moz-do-not-send="true"
                href="http://beri.it/i-miei-libri/" target="_blank">http://beri.it/i-miei-libri/</a> -
              Qualche libro...</div>
            <div><a moz-do-not-send="true" href="http://stacktrace.it/"
                target="_blank">http://stacktrace.it</a> - Aperiodico di
              resistenza informatica</div>
            <div><a moz-do-not-send="true"
                href="http://thinkcode.tv/gratis" target="_blank">http://thinkcode.tv/gratis</a> -
              Capire in 15 minuti cosa può fare Python</div>
          </div>
        </div>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python@lists.python.it">Python@lists.python.it</a>
<a class="moz-txt-link-freetext" href="http://lists.python.it/mailman/listinfo/python">http://lists.python.it/mailman/listinfo/python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>