1834154 Members
2746 Online
110064 Solutions
New Discussion

Re: FTP Issue

 
Charles Akonnor
Advisor

FTP Issue

I am having problem with moving some files from one server to another via ftp.

The files are in my home directory on the second server ( Server 2 ,All HP 9000 ) . If l log onto the server 2 from server 1 via "telnet" and run "ll" on my home directory , l see these files l want to download, but when l log onto server 2 with "ftp", a "dir" does not see the files l intend to download.

Can anyone tell me what could possible be the cause of this situation.

The Guru answer
Never give up.
9 REPLIES 9
Vincenzo Restuccia
Honored Contributor

Re: FTP Issue

Try with rcp.
Vincenzo Restuccia
Honored Contributor

Re: FTP Issue

You are sure logged in?
Charles Akonnor
Advisor

Re: FTP Issue

Vincenzo Restuccia

The system Administrator of Server 2 has refused to grant access to use "r" commands.

I am really sure l logon , l could see some file but not the one l intended to download.


Never give up.
Jennifer Chiarelli
Regular Advisor

Re: FTP Issue

The "ll" command does not work in FTP. Use "ls" instead. Use "pwd" to see what directory you are in. Use "cd" to change to the directory you want (or "lcd" to change the "local" directory). Also, "FTP Services" must be enabled. You can check that in SAM under Networking and Communications, Network Services (must be "Enabled"). Hope this helps!

Best reguards!
It's a binary world!
Vincenzo Restuccia
Honored Contributor

Re: FTP Issue

Try with passive in ftp session.
Charles Akonnor
Advisor

Re: FTP Issue

Lanny,

Read my problem well.

I used "ll" in a telnet session not on ftp

Never give up.
jok
Occasional Contributor

Re: FTP Issue

Are you sure that your are in Server2 when you say that you are on it? I mean there's a lot of probability. One thing to be sure of is to telnet or ftp to an IP address instead of DNS namespace, co'z it might be that you have 2 or more records on your local hostmap or DNS for that specific server name.

BTW, is the file on Server2 was a hidden type?

thanks,

jok
Repeatation make once perfect, excelence then is not a act but a hobbit
Rita C Workman
Honored Contributor

Re: FTP Issue

Here's a couple thoughts, since you do not control the administration of that other server, it is possible that when ftp'ng you are being controlled.
Since you said you can telnet into that box, see if you can do:
In your /home directory create a directory called bin
(..assuming your telneting to your /home directory)
cp /sbin/ls /home//bin
cp /usr/bin/pwd /home/...Now if you can't do this, then you will need that administrator to do it.
What this does is give you the ability to use these commands when you ftp into that directory. Conditions like this are seen when ftp access privileges are being overly controlled or possibly not controlled properly.
If you have access permissions to view these files you should now see them.

Hope this helps,
/rcw
Doug Werth
Senior Member

Re: FTP Issue

As several others have pointed out you may not have full permissions in ftp on Server 2.

But since you seem to have enough permissions when logged on via telnet perhaps you can ftp back to Server 1 and push the files to your system instead.