in reply to Open Remote Directory

You may want to look at File::Remote