Operating System - HP-UX
1834351 Members
2162 Online
110066 Solutions
New Discussion

Re: Problem with graphic ftp tool

 
Diego Pavón_1
Occasional Advisor

Problem with graphic ftp tool

Hi everybody.
I use some graphic ftp-tools like lechftp exceed and ultraedit32. I have one L-3000 with HPUX 1100. If I use comand mode to do ftp I have not problem but when I do the same with this tools I can't see anything, I can't see files, directories. I have the following Path in the machine:

B3701AA_TRY C.03.58.00 Trial HP GlancePlus/UX Pak for s800 11.0
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
B5725AA B.3.6.82 HP-UX Installation Utilities (Ignite-UX)
B8342AA B.11.00.10 Netscape Communicator 4.79
B8724AA A.01.07 CIFS/9000 Client
B8725AA A.01.08 CIFS/9000 Server
HPUXSpa64RT B.11.00 Spanish HP-UX 64-bit Runtime Environment
HWE1100 B.11.00.0206.5 Hardware Enablement Patches for HP-UX 11.00, June 2002
OnlineDiag B.11.00.21.10 HPUX 11.0 Support Tools Bundle, Jun 2002
QPK1100 B.11.00.56.5 Quality Pack for HP-UX 11.00, March 2002
UXCoreMedia B.11.00 HP-UX Media Kit (Reference Only. See Description)
UnlimUserLic B.11.00.02 HP-UX Unlimited-User License
perl B.5.6.1.C Perl Programming Language


Any can help me, because I don't find anything about this in HP pages.

Thank in advance
diego_pc
14 REPLIES 14
Santosh Nair_1
Honored Contributor

Re: Problem with graphic ftp tool

I've used smartftp in the past without any problems. What kind of errors (if any) are you getting on the server side, i.e. check /var/adm/syslog/syslog.log. You may have to turn up logging for the ftp daemon in /etc/inetd.conf (check man pages for ftpd on how to do that).

-Santosh
Life is what's happening while you're busy making other plans
john korterman
Honored Contributor

Re: Problem with graphic ftp tool

Hi,

I assume that you have configured the home dir. of /etc/passwd for your ftp users like this:
://./:
If yes, then the system makes a chroot to when the user logs in, thus making this dir. his "top directory", i.e. he cannot see anything above that. The ls-command which the graphic interface is to use must then be available for him under that directory - I assume that it is not. Is this correct?

regards John K.
it would be nice if you always got a second chance
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

In the /var/adm/syslog/syslog.log appear the following message:

Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: USER sistemas
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: PASS password
Aug 7 10:44:30 CLLC_AC1 ftpd[3244]: NOOP
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: FTP LOGIN FROM 170.251.103.124 [170.251.103.124], sistemas
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: REST 1
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: REST 0
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: SYST
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: PWD
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: PORT
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: TYPE ASCII
Aug 7 10:45:10 CLLC_AC1 ftpd[3301]: LIST

So no problems appear at the first time.


In my /etc/passwd I have the following lines:

root:bx2hXuSS1ni8Q:0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:
smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
sistemas:LhYH0KC0kWpZ2:102:20:Usuario Sistemas,,,:/home/sistemas:/usr/bin/ksh
ora817:U/FRecaO05v.E:112:102:Administrador Oracle 8.1.7,,,:/u01/app/oracle/product/8.1.7:/usr/bin/ksh
pwmart:yUPxainKUC.X.:107:105:Ususario administrador Power Mart 5,,,:/export/home/powermart5:/usr/bin/ksh


The /etc/inetd.conf it's the same to the other machines. The lines of the FTP are:

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a


If I don't use any tools the FTP work fine.
diego_pc
john korterman
Honored Contributor

Re: Problem with graphic ftp tool

Hi Diego,

if I understand you correctly, you can do any ftp command when not using the graphic interfaces.
Have you tried to "get" a file via the graphic interface - can you type the name of it somehow?

regards John K.
it would be nice if you always got a second chance
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

Hi John.

No I can write the name of any file because to transfer the files I use the mouse, but to mark the file I need see the files.
In Exceed tools I can see some letters of the name of the files but not all the letters and with other tools I can't see anything
diego_pc
john korterman
Honored Contributor

Re: Problem with graphic ftp tool


Hi again,

Oh, I had the impression that everything was invisible in the graphic interfaces!
Do the interfaces produce any logmessages that could give a clue?

regards
John K.
it would be nice if you always got a second chance
Shannon Petry
Honored Contributor

Re: Problem with graphic ftp tool

It appears from your problem that your using windows clients to FTP to the HP server. Using this as an assumption the perform this test.
From DOS ftp to the server.
ftp somehost
enter username and passwd
type ls
type dir
As Im not sure which ftp server you have (probably wu_ftpd) make sure the outpuf of both dir and ls work.
Next check permissions in the directory and ensure at least 500 permissions on directories, and 400 permissions on files.

If these both work, then the problem is within the client or the network. It is possible that the router is allowing the command port but not the data port for FTP, as well as simple misconfigured clients.

Regards,
Shannon

Make sure that directory permissions have
Microsoft. When do you want a virus today?
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

Thank for all.

In the graphic tool I can see sole lines like this:

< LISTERROR: -rw-r--r-- 1 root sys 1733 31 Jul 14:25 INDEX
< LISTERROR: -rw-r----- 1 root sys 137 31 Jul 14:25 INFO
< LISTERROR: drwxr-xr-x 2 root root 96 23 Sep 1999 lost+found
< LISTERROR: drwxr-xr-x 2 sistemas users 8192 1 Ago 09:08 sistemas
< LISTERROR: dr-xr-xr-x 2 510 guest 96 7 Ago 08:12 tmp

So it isn't significant.

I haven't any firewall between my PC and the server. This server has at the same VLAN than others who works OK. The same tools work without problem in the other machine. The file inetd.conf is the same in both servers. The permission on the directories are fine but I get the same error ( can't see anything) in all the directories of the machine even /tmp.
diego_pc
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

Hi Shannom

The output of ls and dir are the same. The permissions are fine bicauser I have the same problem in all directories.
diego_pc
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

I installed the following path that HP support said me:
PHCO_25707 1.0 libc cumulative patch
PHNE_25484 1.0 ONC/NFS General Release/Performance Patch
PHSS_26490 1.0 CDE Runtime Periodic Patch
PHSS_26495 1.0 CDE Msg Cat Periodic Patch
PHSS_26497 1.0 XClients Periodic Patch
PHSS_26566 1.0 Xserver cumulative patch
diego_pc
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

I installed the following path that HP support said me:
PHCO_25707 1.0 libc cumulative patch
PHNE_25484 1.0 ONC/NFS General Release/Performance Patch
PHSS_26490 1.0 CDE Runtime Periodic Patch
PHSS_26495 1.0 CDE Msg Cat Periodic Patch
PHSS_26497 1.0 XClients Periodic Patch
PHSS_26566 1.0 Xserver cumulative patch

But the problem persist
diego_pc
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

At last I could solve my problem. I apply some OS-patch ( PHNE_22566 , PHSS_26490 , PHSS_26495, PHSS_26497 , PHSS_26566 ). This patch solve partiality my problem but I did do more things. I selected the correct Host Type in Ultraedit tool ( The Ultraedit support said me by they didn't know why some times work fine without selected this option in the connection options). To solve the problem in the exceed tool it's necessary insert the following lines in the file win.ini and reboot the Pc:
[HCLFTP]
AlternateParse = 1

Thank for all.
diego_pc
Steven E. Protter
Exalted Contributor

Re: Problem with graphic ftp tool

I'm using snarf 7

Its not graphical, but it is slick.

Set one variable to your proxy server and just modify a script to get anything you need from anywhere that lets you log in.

I've had trouble getting some of the nice graphical ones to compile, too many dependencies.
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Diego Pavón_1
Occasional Advisor

Re: Problem with graphic ftp tool

I solved the problems change the value of LANG in the file /etc/rc.config.d/LANG
LANG=C
Them restart the inetd daemon

#inetd -k
#inetd
diego_pc