in reply to Processing files in remote machine
If you want to Read/write/edit remote files transparently use this module
File::Remote