Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

TFTP, Protocol does not support listing directories

Hi everyone,

I am trying to install patch for PI 1.4 because of the browser problem. I have downloaded the patch.

I also have read the post https://supportforums.cisco.com/docs/DOC-26972#comment-22434 and followed the steps described.

I created repository and try to make the tftp server's root directory into the repository, as u can see in the picture below. Is it correct? Because when I want to display the file contain in the repository, the error message shown "Protocol does not support listing directories", what does it mean?

prime1.4.png

Thanks.

  • Network Management
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: TFTP, Protocol does not support listing directories

Here's another way:::

1)  From your PC launch a CMD Prompt

2)  CD to the directory where the patch is installed

3)  ftp xxx.xxx.xxx.xxx (this is the IP address of the NCS/PI server)

4)  login as ftp-user

5)  enter the password created during the install of NCS/PI for the ftp user account (if you don’t know it, you can change it by entering

ncs password ftpuser ftp-user password

6)  type bin then press return

7)  type hash then press return

8)  type put

9)  login to the CLI of the NCS/PI server as an admin user

10) type dir disk:ftp and you’ll see the file stored in the /localdisk/ftp directory on the disk

11) if you don’t have a repo pointing to disk:ftp then create one using

     a) config t

     b) repository localftp

     c) url disk:/ftp

     d) exit

12) type ncs stop

13) type patch install localftp

Note: if a PC firewall is enabled, you may have to disable it in order to get the file transfer to work


9 REPLIES
VIP Purple

Re: TFTP, Protocol does not support listing directories

Hi Wei,

Make sure PI.zip is listed for the 'show repository ' command. For tftp, if directory listing is not enabled, then restore will fail. This is an expected behavior and 'show repository' will throw error message.

Check it here:

http://www.cisco.com/en/US/docs/wireless/ncs/1.0/configuration/guide/tasks.html

Hope it helps.

Regards

Dont forget to rate helpful posts.

Cisco Employee

Re: TFTP, Protocol does not support listing directories

Here's another way:::

1)  From your PC launch a CMD Prompt

2)  CD to the directory where the patch is installed

3)  ftp xxx.xxx.xxx.xxx (this is the IP address of the NCS/PI server)

4)  login as ftp-user

5)  enter the password created during the install of NCS/PI for the ftp user account (if you don’t know it, you can change it by entering

ncs password ftpuser ftp-user password

6)  type bin then press return

7)  type hash then press return

8)  type put

9)  login to the CLI of the NCS/PI server as an admin user

10) type dir disk:ftp and you’ll see the file stored in the /localdisk/ftp directory on the disk

11) if you don’t have a repo pointing to disk:ftp then create one using

     a) config t

     b) repository localftp

     c) url disk:/ftp

     d) exit

12) type ncs stop

13) type patch install localftp

Note: if a PC firewall is enabled, you may have to disable it in order to get the file transfer to work


New Member

Re: TFTP, Protocol does not support listing directories

Hi Rob

Thanks for your solution, but I got the error when log in via cmd. I have created ncs account ftp-user and password 1234Qwer, but when I failed to login using the username and password. How to solve it?

Thanks

Cisco Employee

Re: TFTP, Protocol does not support listing directories

It looks like you're doing it right as for trying to ftp the patch file over.

I have seen it before were the complexity of the password has caused issues.

Please try to change the password to something very simple like Cisco123 for example.

ncs password ftpuser ftp-user password Cisco123

If it still doesn't work create an ftp repo on the NCS appliance then install the patch file from the remote repository.

New Member

Re: TFTP, Protocol does not support listing directories

But how to install the patch file from the remote repository after created a ftp repo and the username password?

New Member

Re: TFTP, Protocol does not support listing directories

The ip address of the ftp server must be in the same subnet with the local ip address?

Cisco Employee

Re: TFTP, Protocol does not support listing directories

Once you've created the repo as shown in the screen shot above using the commands:

conf t

repository remoteftp

url ftp://192.168.169.100

user username password plain password

end

You would then put the patch file on the ftp server then you could install it from there.  No the ftp repo doesn't need to be on the same subnet as the local ip address.

Once you have the file on the ftp server you could then type:

show repository remoteftp and you should see the patch file sitting out there

from there you would then type:

patch install remoteftp

New Member

Re: TFTP, Protocol does not support listing directories

Yes I did it! Thanks Rob for willing to help!

Cisco Employee

Re: TFTP, Protocol does not support listing directories

glad it worked:::

818
Views
9
Helpful
9
Replies
This widget could not be displayed.