ange-ftp has trouble retrieving directory contents from wu-ftp on RedHat system

ange-ftp has trouble retrieving directory contents from wu-ftp on RedHat system

Post by Jonathan Epstei » Sun, 13 Jan 2002 02:37:15



Hi,

I am able to connect to most of my Unix hosts without problem using GNU
Emacs 20.6.1 with ange-ftp from my W2K system. However, I have trouble
getting files correctly retrieved from my RedHat 7.1 system, and setting
ange-ftp-dumb-unix-host-regexp doesn't seem to help.

The three transcripts below are (respectively):
1. successfully accessing a file on a remote SGI
2. unsuccessfully accessing a file on the RedHat system
3. same as (2), but with ange-ftp-dumb-unix-host-regexp set to include the
RedHat host

I guess that in many ways this is really an issue with wu-ftp (2.6.1-16),
but perhaps some of the ange-ftp experts will have some insights as well as
the Linux folks.

I tried placing the ange-ftp.el from Emacs 21.1 into my 20.6.1 path, but got
the error:
  Symbol's function definition is void: make-temp-file
when opening a file via ange-ftp, so I guess this newer ange-ftp.el isn't
backward compatible.

TIA,

-Jonathan

---begin 1---
Invalid help command foo.
open mgchd1.nichd.nih.gov
Connected to mgchd1.nichd.nih.gov.
220 mgchd1.nichd.nih.gov FTP server ready.
user "epstein" Turtle Power!
331 Password required for epstein.
230 User epstein logged in.
hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
pwd
257 "/disk3/people/epstein" is current directory.
ls "-al /disk3/people/cora/STUFF/Fli_Home.html/."
c:/DOCUME~1/EPSTEI~1.NIC/LOCALS~1/Temp/ange-ftpa944L_w
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp: 87 bytes received in 0.03Seconds 2.90Kbytes/sec.
ls "-al /disk3/people/cora/STUFF/."
c:/DOCUME~1/EPSTEI~1.NIC/LOCALS~1/Temp/ange-ftpa944L_w
200 PORT command successful.
150 Opening ASCII mode data connection for '/bin/ls'.
226 Transfer complete.
ftp: 2876 bytes received in 0.12Seconds 23.97Kbytes/sec.
type binary
200 Type set to I.
get /disk3/people/cora/STUFF/Fli_Home.html
c:/DOCUME~1/EPSTEI~1.NIC/LOCALS~1/Temp/ange-ftpa944L_w
200 PORT command successful.
150 Opening BINARY mode data connection for
'/disk3/people/cora/STUFF/Fli_Home.html' (1149 bytes).
226 Transfer complete.
ftp: 1149 bytes received in 0.02Seconds 57.45Kbytes/sec.
type ascii
200 Type set to A.
--- end 1---

--- begin 2---
Invalid help command foo.
open zfish.nichd.nih.gov
Connected to zfish.nichd.nih.gov.
220 zfish FTP server (Version wu-2.6.1-16) ready.
user "epstein" Turtle Power!
331 Password required for epstein.
230 User epstein logged in.
hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
pwd
257 "/home/epstein" is current directory.
ls "-al /home/epstein/pages/newtest012001/Fli_Home.html/."
c:/DOCUME~1/EPSTEI~1.NIC/LOCALS~1/Temp/ange-ftpa920M-w
200 PORT command successful.
150 Opening ASCII mode data connection for directory listing.
226 Transfer complete.
ftp: 9 bytes received in 0.00Seconds 9000.00Kbytes/sec.
---end 2---

---begin 3---
Invalid help command foo.
open zfish.nichd.nih.gov
Connected to zfish.nichd.nih.gov.
220 zfish FTP server (Version wu-2.6.1-16) ready.
user "epstein" Turtle Power!
331 Password required for epstein.
230 User epstein logged in.
hash
Hash mark printing On ftp: (2048 bytes/hash mark) .
dir /home/epstein/pages/newtest012001/Fli_Home.html/
c:/DOCUME~1/EPSTEI~1.NIC/LOCALS~1/Temp/ange-ftpa300lEx
200 PORT command successful.
150 Opening ASCII mode data connection for directory listing.
226 Transfer complete.
ftp: 9 bytes received in 0.00Seconds 9000.00Kbytes/sec.
---end 3---

 
 
 

1. Guest ftp users are not located in their wu-ftp home directory

Hello to all.
I have a wu-ftp server installed on my Redhat Linux 7.2 system and I
set its configuration to be used by both anonymous and guest users.I
have defined all
my guest users in the "group1" group and then i have defined this
group (group1) as a guestgroup in my "ftpaccess" file.
My "ftpaccess" file is look like the below :

class class1 guest,anonymous  *
noretrieve
loginfails 5
private no
hostname ftp.mycompany.com

show-everytime message yes
message /.login.msg  LOGIN
readme  README* LOGIN
readme  README* CWD=*
passwd-check    none    warn
log commands anonymous,guest,real
log security anonymous,guest,real
log transfers anonymous,guest,real inbound
log transfers anonymous,guest,real outbound
anonymous-root /home/ftp/users/general
guest-root /home/ftp/users
guestgroup group1
passwd /home/ftp/users/etc/passwd
shadow /home/ftp/users/etc/shadow

Each line in my guest password file (/home/ftp/users/etc/passwd) is
look like the below :
emami:x:500:500::/home/ftp/users/./emami/:/bin/bash

I have set a different home directory for each guest user in the
/home/ftp/users directory that is the root directory for guest users.
But when I login by one of my guest account to ftp server,all of the
users and other directories in the /home/ftp/users directory is shown
and the user dosn't located to him or her directory. Of course the
guest user can only go to his own directory and can not go to other
users directories.

Who can tell me how to locate my guest users in their home directory
at the login time ?

Thanks a lot.

2. linux redhat perl ??? what version of perl does it include?? how can i find out?

3. Solaris ftp v Pro-ftp v WU-ftp

4. error trying to install/use the GRX lib

5. Redhat wu-ftp/anonftp rpm installation on different directory

6. LINUX DOESN'T SUPPORT MY INTELLIGENCE!

7. a few newbie Q. (ange-ftp, chat)

8. Inline functions not implemented Sun C++ Workshop 5.0?

9. Ange-ftp barfing over control characters?

10. tncftp & ange-ftp: HOWTO

11. WU-FTP and restricted FTP accounts

12. How to prevent anonymous ftp w/wu-ftp

13. Virtual FTP Sites with wu-ftp