Operating System - HP-UX
1849476 Members
6150 Online
104044 Solutions
New Discussion

why I cann't see any directory ?

 
Rambo_1
Regular Advisor

why I cann't see any directory ?

Hi,
I ftp to HP-UX(11i) host by cuteftp . But I can't see any directory in the cuteftp windows.

BR
6 REPLIES 6
Muthukumar_5
Honored Contributor

Re: why I cann't see any directory ?

Did you ftp from windows machine to hpux machine? Do you want to see local machine directory only?

ftp hpux
ftp>!dir

Is it the one?

ftp hpux
ftp> ls

Is it not working?

~regards
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: why I cann't see any directory ?

You might not be having read permission. Log in to HP-UX and check the dir permission.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: why I cann't see any directory ?

ftp> ls won;t list anything, Try using
ftp>ls -al

It should list the contents,

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ivan Ferreira
Honored Contributor

Re: why I cann't see any directory ?

First you should check the permissions of the directory. If you are behind a firewall, you should verify that you can do ACTIVE ftp sessions, or configure the client to use PASSIVE ftp.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Kent Ostby
Honored Contributor

Re: why I cann't see any directory ?

More than likely, the FTP home directory for the corresponding FTP user does not allow that user read permissions.

For instance, if you have a non-root user who you are bringing into the root directory, you might see this behaviour.

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Kent Ostby
Honored Contributor

Re: why I cann't see any directory ?

Another cause of this can be if the LANG variable in /etc/rc.config.d/LANG is set to something other than "C".

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"