> 220 PC Resident FTP 2.2TN/TC-D server, ready
> 220 Macintosh Resident FTP server, ready
If you have a non-unix based ftp server, I would appreciate it
if you can run the following script and if it is something other
that the above, send me the output. ( The above is from
NCSA Telnet for DOS and the Mac - I don't know the version offhand.)
[ Or just ftp manually, if you can cut and paste the banner
and/or redirect the output. ]
I'll thank you all now, in advance. Just in case I get 200 replies! -
I'm not going to write you all a thank you note. However, if you
do send me info on an machine I don't have access to, I may ask
you for further information so that I can support it.
I'll also accept unix banners in my collection - It's not as vital
as unix/posix is going to be the default. ( and I can probably
collect a big variety of those from various anonymous ftp sites. )
Thanks!
- Steve Majewski (804-982-0831) <sdm7g@Virginia.EDU>
- UVA Department of Molecular Physiology and Biological Physics
#!/usr/local/bin/python
from ftplib import FTP
def banner( host ):
ftp = FTP().init( host )
welcome = ftp.welcome
try:
ftp.quit()
except:
pass
return welcome
import sys
for arg in sys.argv[1:] :
print banner( arg )