1850302 Members
2712 Online
104053 Solutions
New Discussion

ftpd on hp-ux 11i

 
Olaf Reins
New Member

ftpd on hp-ux 11i

How can I configure the output format of the ftpd ? At the moment files are listed as follows:
-rwxr-xr-x 1 root sys 5451 16. Jan., 09:34 .dtprofile

I need the usual english date format. When I simply login to that machine, locale says the following:
ttsln4:/#locale
LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

Any ideas ?
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: ftpd on hp-ux 11i

Olaf,

When you say "English", do you mean England (European dates)? And about "ftpd", what do you mean by the listing of ".dtprofile"? Do you mean when a user ftp's to your machine and does a directory listing?

live free or die
harry
Live Free or Die
Olaf Reins
New Member

Re: ftpd on hp-ux 11i

Yes, a user connecting to this server sees a listing like this:

-rw-r--r-- 1 root sys 0 4. Feb., 16:42 test

But as this date format confuses his ftp client, I need to change it to

-rw-rw-rw- 1 root sys 0 Feb 4 16:39 test

So the question is, where does the ftpd get his environment from ....
harry d brown jr
Honored Contributor

Re: ftpd on hp-ux 11i

What kind of client is having an issue?

live free or die
harry
Live Free or Die
Olaf Reins
New Member

Re: ftpd on hp-ux 11i

It's CuteFtp (Windows NT).
harry d brown jr
Honored Contributor

Re: ftpd on hp-ux 11i

A remote file's size and date are sent to CuteFTP from the FTP server, and CuteFTP is simply relaying this information. The server may report a file as having a different size or date, but it is very likely that the file is indeed the exact same as the one on your local drive, only that it is being reported as having a different size or date by the server. This issue is most common when transferring files to a server that uses a different operating system (Linux, Unix, Macintosh, Sun servers). To be absolutely sure, try downloading the file from the FTP server. The file should be exactly the way you sent it to the server. If it is not, you will need to contact the administrator of the server so that they can resolve the issue.

http://www.globalscape.com/cgi-bin/document.cgi?did=105&pid=2&tid=22

"ftpd" is normally a root process, so from "root" what is your locale language support set to?

live free or die
harry
Live Free or Die