'STAT' command in winscp.com prepends '/'
Hello and thanks for the great software!
A relatively small problem but if you don't know can cause a few problems.
I'm doing some scripting with winscp.com and want to look at a file in a subdirectory.
I send the command STAT subdir/file.
When I look at the TCP flow on wireshare what I get is:
MLST /subdir/file
Which is not really right if I don't have my FTP server set up for a virtual root directory.
Even if I try STAT ./subdir/file, it prepends another '/' and I wind up
with MLST /./subdir/file which is also not good.
Obviously I can work around this by implementing
CD subdir
STAT file
and it works just fine.
Thanks!
A relatively small problem but if you don't know can cause a few problems.
I'm doing some scripting with winscp.com and want to look at a file in a subdirectory.
I send the command STAT subdir/file.
When I look at the TCP flow on wireshare what I get is:
MLST /subdir/file
Which is not really right if I don't have my FTP server set up for a virtual root directory.
Even if I try STAT ./subdir/file, it prepends another '/' and I wind up
with MLST /./subdir/file which is also not good.
Obviously I can work around this by implementing
CD subdir
STAT file
and it works just fine.
Thanks!