orca
orca copied to clipboard
File operations should also work on a directory
so you should be able to do the following...
remote('/var').exists?
and also you should be able to differentiate between files and dirs...
remote('/var').dir?
remote('/var').file?