Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

bpacilio59

Re: RemoteFileInfo FileType attibutes

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
bpacilio59

RemoteFileInfo FileType attibutes

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 ?