owner and group show as ftp

Advertisement

abakker
Joined:
Posts:
12

owner and group show as ftp

Using WinSCP on Windows XP I connect to a Unix server using FTP protocol. The owner and group of all directories and files are "ftp". Is this a limitation of the FTP protocol or is there a way to get the real owner and group?

Reply with quote

Advertisement

abakker
Joined:
Posts:
12

Re: owner and group show as ftp

Not sure which ftp clients would/should display owner and group, several omit them altogether. Filezilla shows numeric owner and group. I assume WinSCP makes a system call to get owner and group and if an error is returned displays "ftp"? Which system calls would this be?

With some servers it does work, not sure which Unix flavour they are. With FreeBSD and CentOS owner and group are displayed as "ftp". Can the service provider change somethings to make it work?

Reply with quote

martin
Site Admin
martin avatar

Re: owner and group show as ftp

WinSCP does not do any system call to get owner/group, it just parses the directory listing from the FTP server. Filezilla possibly uses different listing format for which your server does not fail to provide the group/owner.

Reply with quote

abakker

Re: owner and group show as ftp

Sorry to bother you, but can tell which listing (which command) WinSCP uses? My server provider points to WinSCP, you point to the service provider and I am more or less stuck in the middle. I need some evidence to show that the Unix server fails to give the right owner and group.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,453
Location:
Prague, Czechia

Re: owner and group show as ftp

abakker wrote:

Sorry to bother you, but can tell which listing (which command) WinSCP uses?
WinSCP uses FTP command LIST to list remote directory. I'm not pointing to the service provider, rather to the FTP server. WinSCP does not make up the "ftp" owner/group. I has to be coming from the remote side.

Reply with quote

Advertisement

You can post new topics in this forum