From: Samuele P. <ped...@bl...> - 2001-11-01 21:32:44
|
Hi, I hope the following excerpt of a ftp session with a server that does not understand the command guardian and quote can help. ftp> quote guardian 500 'GUARDIAN': command not understood. ftp> quote quote guardian 500 'QUOTE guardian': command not understood. ftp> quote is a meta-command :) regards ----- Original Message ----- From: Hubert Yoshizaki <yos...@da...> To: <jyt...@li...> Sent: Thursday, November 01, 2001 9:54 PM Subject: [Jython-users] how to do a 'quote' command with ftplib > Hi there, > I'm still having problems doing a 'quote guardian' command. > just to hopefully clear up what I'm trying to do...here's what it looks > like when you are doing a manual ftp. > > after you log on... > 230 User <user-name> logged in. OSS API enabled. > ftp> > ftp> quote guardian > 257 Guardian API enabled. > ftp> > > that is all I am wishing to do. > > I have tried > ftpConnection.sendcmd('quote guardian') > ftpConnection.voidcmd('quote guardian') > ftpConnection.putcmd('quote guardian') > > all of which returned something in the general lines of > error_perm: 500 'QUOTE guardian': command not understood. > > now I realize that if you do actually give a command that ftp server does > not understand as in 'quote bogusCommand' then it would return an error 500 > saying basically what I described above. The weirdness of the whole > situation is that if I do it manually, it always works. > > Any ideas how to solve this problem? > > Thanks in advance, > Hubert > > > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |