[Zope] Re: ssh tunnel with zope?

Derrick 'dman' Hudson dman@dman.ddts.net
Wed, 3 Jul 2002 14:04:58 -0500


--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 03, 2002 at 04:52:45AM -0700, Zope Ista wrote:
| Has anybody got a passive FTP tunnel working over ssh
| to a Zope server? I looked around on Zope.org for a
| howto or other tips and none were to be had.
|=20
| I'm simply listening on port 21 and forwarding that
| 127.0.0.1 on the remote server.

FTP uses out-of-band data transfer.  You need a second port too, which
isn't known until the FTP transfer starts.  That's why ftp is such a
problematic protocol.
=20
| WebDAV tunnels without a problem but is problematic on
| bulk uploads. Uploading one or two files at a time is
| fine but more than that causes it to go into a
| tailspin and crash the Zope server (2.5.1).
|
| Any tips would be most welcome (including "yeah, you
| can't do that FTP thing").

How about using scp or sftp to move the files onto the server's disk,
then using ftp on the server (through the lo interface) to move the
data into zope?  I bet you could even script it if you wanted.

-D

--=20

In his heart a man plans his course,
but the Lord determines his steps.
        Proverbs 16:9
=20
http://dman.ddts.net/~dman/


--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj0jStoACgkQO8l8XBKTpRSvPgCffQtbedtgbQ9Y5Tb9OROv3xtK
kYcAnjd+09H4xJXxtCO0dwx80jn1l8jt
=zdBv
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--