If someone is familiar with Zope's FTP can you show what a directory listing looks like when you have logged in? I've tried using list and nlst, two of the available commands according to help, but neither shows anything. Normal FTP commands (ls, cd) do not work at all. -- John
On Feb 22, 2004, at 11:15 AM, John Poltorak wrote:
If someone is familiar with Zope's FTP can you show what a directory listing looks like when you have logged in?
I've tried using list and nlst, two of the available commands according to help, but neither shows anything. Normal FTP commands (ls, cd) do not work at all.
Here's what I see (I have FTP running on port 9921): [ed ~]# ftp leafe.com 9921 Connected to leafe.com. 220 leafe.com FTP server (Medusa Async V1.23 [experimental]) ready. Name (leafe.com:ed): xxxxxxx 331 Password required. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 500 'EPSV': command not understood. 227 Entering Passive Mode (24,24,55,209,234,105) 150 Opening ASCII mode data connection for file list drwxrwx--- 1 Zope Zope 0 Feb 20 22:42 . drwxrwx--- 1 admin Zope 0 Feb 12 11:50 AA_testing drwxrwx--- 1 Zope Zope 0 Feb 18 2003 Control_Panel ---------- 1 admin Zope 0 Jan 26 15:52 DSToolkit drwxrwx--- 1 Zope Zope 0 Nov 3 2002 Examples [majority snipped] ---------- 1 Zope Zope 0 Jan 25 2003 zopevhm 226 Transfer complete ftp> ___/ / __/ / ____/ Ed Leafe Linux Love: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
On Sun, Feb 22, 2004 at 11:33:46AM -0500, Ed Leafe wrote:
On Feb 22, 2004, at 11:15 AM, John Poltorak wrote:
If someone is familiar with Zope's FTP can you show what a directory listing looks like when you have logged in?
I've tried using list and nlst, two of the available commands according to help, but neither shows anything. Normal FTP commands (ls, cd) do not work at all.
Here's what I see (I have FTP running on port 9921):
Is this on 8021 by default?
[ed ~]# ftp leafe.com 9921 Connected to leafe.com. 220 leafe.com FTP server (Medusa Async V1.23 [experimental]) ready.
Does this depend on the version of Zope? I have V1.21. I'm using Zope 2.6.2b3
Name (leafe.com:ed): xxxxxxx
I don't see any prompt at all. I can login by specifying user followed by pass and then get a 230 Login successful.
331 Password required. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls
When I try ls I get 500 'ls': command not recognised. What have I failed to do? If I type help, I get a list of commands I've never heard of.
500 'EPSV': command not understood. 227 Entering Passive Mode (24,24,55,209,234,105) 150 Opening ASCII mode data connection for file list drwxrwx--- 1 Zope Zope 0 Feb 20 22:42 . drwxrwx--- 1 admin Zope 0 Feb 12 11:50 AA_testing drwxrwx--- 1 Zope Zope 0 Feb 18 2003 Control_Panel ---------- 1 admin Zope 0 Jan 26 15:52 DSToolkit drwxrwx--- 1 Zope Zope 0 Nov 3 2002 Examples [majority snipped] ---------- 1 Zope Zope 0 Jan 25 2003 zopevhm 226 Transfer complete ftp>
___/ / __/ / ____/ Ed Leafe
Linux Love: unzip;strip;touch;finger;mount;fsck;more;yes;umount;sleep
-- John
On Feb 22, 2004, at 11:53 AM, John Poltorak wrote:
Here's what I see (I have FTP running on port 9921):
Is this on 8021 by default?
8021 is the default, yes.
[ed ~]# ftp leafe.com 9921 Connected to leafe.com. 220 leafe.com FTP server (Medusa Async V1.23 [experimental]) ready.
Does this depend on the version of Zope? I have V1.21. I'm using Zope 2.6.2b3
Dunno. I'm running 2.7.0 ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://opentech.leafe.com
John Poltorak wrote at 2004-2-22 16:53 +0000:
...
Here's what I see (I have FTP running on port 9921):
Is this on 8021 by default?
Indeed.
[ed ~]# ftp leafe.com 9921 Connected to leafe.com. 220 leafe.com FTP server (Medusa Async V1.23 [experimental]) ready.
Does this depend on the version of Zope?
The port depends on how you configured Zope (in the configuration file for Zope 2.7, with "z2.py" options for Zope 2.6).
I have V1.21. I'm using Zope 2.6.2b3
The version number of Medusa can depend on the Zope version, yes.
... I don't see any prompt at all. I can login by specifying user followed by pass and then get a 230 Login successful.
That depends on your FTP client. My FTP client has a "verbose" command. I can use it to control whether the client should be verbose or quiet.
When I try ls I get
500 'ls': command not recognised.
What have I failed to do?
As said in an earlier message: It appears that you are talking directly to Zope's FTP server. It is unusual to do that. Usually, one talks to an FTP client which (in turn) talks to the server. -- Dieter
On Sun, Feb 22, 2004 at 08:27:07PM +0100, Dieter Maurer wrote:
What have I failed to do?
As said in an earlier message: It appears that you are talking directly to Zope's FTP server. It is unusual to do that. Usually, one talks to an FTP client which (in turn) talks to the server.
This is too embarassing to admit, and maybe it's time I spent time gardening rather than messing with computers.... All this time I swore I was FTPing to port 8021, I had in fact been TELNETing..... Arghhhhhh!!!!!!! Sorry about that, folks. <hangs head in shame>
-- Dieter
-- John
On Sunday 22 February 2004 17:15, John Poltorak wrote:
I've tried using list and nlst, two of the available commands according to help, but neither shows anything. Normal FTP commands (ls, cd) do not work at all.
it works for me :-) ls , cd are part of the Protocol so that a FTP server should accept and obey to those commands . Check if you installed correctly your server , check if some ports are not blocked by some firewall . have fun -- Rakotomandimby Mihamina Andrianifaharana Tel : +33 2 38 76 43 65 http://stko.dyndns.info/site_principal/Members/mihamina
participants (4)
-
Dieter Maurer -
Ed Leafe -
John Poltorak -
Rakotomandimby Mihamina