[Zope] ftp: get -R

Marco Mariani m.mariani@imola.nettuno.it
Wed, 12 Apr 2000 07:06:15 +0200


On Tue, Apr 11, 2000 at 05:40:47PM -0700, Michel Pelletier wrote:

> > Wouldn't it be nice if zope supported the recursive get on ftp?
> 
> Why wouldn't Zope support it?  FTP recursion is, as far as I know,
> purely a function of the FTP client.

I've tried with ncftp: it has something to do with folders, it only
downloads the files in the specified one and the subfolders are empty.


    Password required.

Password:

Login successful.
Logged in to localhost.
ncftp / > cd mariani
ncftp /mariani > get -R foto
foto/index_html:                                       250.00 B   17.83 kB/s
foto/uploadImage:                                      145.00 B   15.45 kB/s
foto/formImage:                                        493.00 B   52.14 kB/s
foto/addImageProp:                                     233.00 B   25.53 kB/s
foto/tipoList:                                           1.27 kB  102.04 kB/s
foto/tipoModify:                                       471.00 B   32.55 kB/s
foto/tipoDelete:                                       664.00 B   45.98 kB/s
foto/tipoForm:                                         580.00 B   42.05 kB/s
foto/menuCategorieFoto:                                366.00 B   29.20 kB/s
foto/fotoUpload:                                       342.00 B   24.95 kB/s
ncftp /mariani > dir foto
d---------   1 volvox   Zope            0   Apr 11 21:42   ..
----------   1 Zope     Zope            0   Apr  7 20:20   acl_users
-rw-rw----   1 volvox   Zope          233   Apr  7 21:32   addImageProp
-rw-rw----   1 volvox   Zope          493   Apr 10 17:02   formImage
-rw-rw----   1 volvox   Zope          342   Apr 11 18:51   fotoUpload
-rw-rw----   1 volvox   Zope          250   Apr 11 18:51   index_html
-rw-rw----   1 volvox   Zope          366   Apr 11 18:46   menuCategorieFoto
drwxrwx---   1 volvox   Zope            0   Apr 11 13:02   store
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-rw-rw----   1 volvox   Zope          664   Apr 11 12:39   tipoDelete
-rw-rw----   1 volvox   Zope          580   Apr 11 12:32   tipoForm
-rw-rw----   1 volvox   Zope         1297   Apr 11 13:01   tipoList
-rw-rw----   1 volvox   Zope          471   Apr 11 12:17   tipoModify
drwxrwx---   1 volvox   Zope            0   Apr 11 12:25   upload
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-rw-rw----   1 volvox   Zope          145   Apr  7 21:53   uploadImage
ncftp /mariani > dir foto/upload
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
d---------   1 volvox   Zope            0   Apr 11 18:51   ..
-rw-rw-r--   1 volvox   Zope        33904   Apr  4 18:26   MVC-006F.JPG
-rw-rw-r--   1 volvox   Zope        31266   Apr  4 18:26   MVC-009F.JPG
-rw-rw-r--   1 volvox   Zope        43213   Apr  4 18:26   MVC-010F.JPG
-rw-rw-r--   1 volvox   Zope        42248   Apr  4 18:26   MVC-013F.JPG
-rw-rw-r--   1 volvox   Zope        79034   Apr  4 18:26   MVC-014F.JPG
-rw-rw-r--   1 volvox   Zope        64561   Apr  4 18:26   MVC-015F.JPG
-rw-rw-r--   1 volvox   Zope        77239   Apr  4 18:26   MVC-016F.JPG
-rw-rw-r--   1 volvox   Zope        84857   Apr  4 18:26   MVC-017F.JPG
ncftp /mariani > !ls foto/upload
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ncftp /mariani >