- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cannot cd in ftp shell because it does not rec...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2016 04:18 AM
тАО10-26-2016 04:18 AM
Cannot cd in ftp shell because it does not recognize character
Hello,
Inside an ftp shell I cannot cd to a directory, because it does not recognize the character " ├│ " ; instead it appears blurred (like a small array of points). This is the directory:
ftp> dir
200 PORT command successful.
125 Data connection already open; Transfer starting.
10-20-16 08:20AM <DIR> ConfiguraciтЦТn
Copy and paste in an HP-UX kshell it looks this way: Configuracib^Rn
It seems that in ftp shell, escaping or wildcards do not work. Any idea on how to cd to that directory inside an ftp shell ?
Kind regards,
- Tags:
- locale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2016 05:51 AM - edited тАО10-26-2016 06:01 AM
тАО10-26-2016 05:51 AM - edited тАО10-26-2016 06:01 AM
Re: Cannot cd in ftp shell because it does not recognize character
Perhaps it is obvious but I'm guessing you're not able to type that character.
You could try running the ftp session within a GNU screen or tmux terminal (with utf8 on) and copy-paste the text.
This is based on my vague speculation that your current terminal does not support unicode and displays the wrong character instead, then when you copy-paste (with the mouse), it is the wrong character which gets pasted. So on a terminal emulator that supports unicode, you should be able to see that character (with appropriate fonts available etc). Then, you should be able to copy-paste it at least with the screen/tmux copy-paste (not with the mouse) functionality.
If that doesn't work, another ftp client like GNU ftp or lftp which provides tab-based filename completion might be worth a try.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2016 06:21 AM
тАО10-26-2016 06:21 AM
Re: Cannot cd in ftp shell because it does not recognize character
Hi,
It is an ftp session from an HP-UX system to a windows system. It uses the ftp client provided by HP-UX...
Kind Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2016 06:47 AM
тАО10-26-2016 06:47 AM
Re: Cannot cd in ftp shell because it does not recognize character
I'm not very sure of what I'm suggesting, so you might want to try these only if you have no other choice.
It is possible to login to an HP-UX system through a GNU screen terminal on another system - linux, hp-ux etc (not sure of windows). You could then start the ftp session from there.
Also, open-source ftp alternatives like cFTP are available for HP-UX on the HP-UX connect website.
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2016 10:26 PM - edited тАО10-29-2016 10:49 PM
тАО10-29-2016 10:26 PM - edited тАО10-29-2016 10:49 PM
Re: Cannot cd in ftp shell because it does not recognize character
> instead it appears blurred (like a small array of points).
That's the char used to indicate that there is no translation for the char you want. I forgot its name.
It's not quite like: https://en.wikipedia.org/wiki/Specials_(Unicode_block)
Ah: http://www.unicode.org/charts/PDF/U2580.pdf
\xe2\x96\x92
2592 тЦТ MEDIUM SHADE
= speckles fill, dotted fill
тАв 50%
тАв used in mapping to cp949
For example using Linux and Putty, I have to set putty translation to UTF-8 and for Linux, I have to set the locale to pick one with UTF-8 chars. And then set LC_CTYPE to that locale, LC_CTYPE=C.UTF-8.
So if you can get your ftp to display it correctly using "ls", you're on your way.
I got this to work on HP-UX using LC_CTYPE=C.utf8 with lower case PI. I had to make sure "stty -istrip" was set.
But I was using ftp to my own system and the directory was created with UTF-8 chars. Not sure if Window's would be different?