Code: Select all
PLINK.EXE"" -pw password user@server.sv.com ""cd data/;ls"Code: Select all
PLINK.EXE"" -pw password user@server.sv.com ""cd data/;ls"Why so complicated?cd data/;ls
Code: Select all
ls dataThis gives back also the folder, but I need only the file names. So I decided enter the folder first. Otherwise I would have to remove the folder part.highend wrote:Just use:
Code:
ls data
Code: Select all
text runret("C:\Putty\PLINK.EXE -pw password user@server.sv.com ""cd data/;ls""");Code: Select all
text runret("D:\Users\Highend\Tools\PuTTY\plink.exe -pw <password> <username>@<ip> ""cd /media;ls""", <curpath>);Whatever that is.Secure Application Manager
Code: Select all
run "cmd /K C:\putty\PLINK.EXE -pw password user@server.sv.com ""cd data/Archive/;ls""";Thanks anyway for trying to help me.highend wrote:Mh, as I already said: Can't explain this. I was on plink v0.63 but just upgraded to 0.67 (version 0.10.0) and it still works fine with runret...
Code: Select all
text runret("D:\Users\Highend\Tools\PuTTY\plink.exe -pw <password> <username>@<ip> ""cd /media;ls""", <curpath>);
I'm looking below and see... nothing!But I see several entries, and they are shown colored! (See below) (Files are white, directories are blue.)
In DOS?In DOS I start plink *without a command*:
If you show what you're actually doing I'll test it...Might this, in any way, disturb the gathering of this text by runret?