Topic "RemoteFileInfo FileType attibutes"

Author Message
bpacilio59
[View user's profile]

Joined: 2016-07-05
Posts: 4
The documentation shows that this will be a single character return. When I print out this character value after I get a directory the only files that have a character are the directories. All other files return a '-'. I can not find any specific WinScp infomation related to the FileType. Any idea why only the 'd' would be shown ?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
That's correct.
See the documentation for the .FileType:
https://winscp.net/eng/docs/library_remotefileinfo
bpacilio59
[View user's profile]

Joined: 2016-07-05
Posts: 4
I was confused since the page said "File type. - for regular file, D for directory, L for symbolic link, etc." I thought the "etc" meant there was more information available.....Thanks

martin wrote:
That's correct.
See the documentation for the .FileType:
https://winscp.net/eng/docs/library_remotefileinfo
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License