"Share" sounds like a Windows box, but even if it isn't this applies: When you say, "...need a scipt that will either copy files ... to a remote computer that does not have a share..." the obvious question I have to ask is, "why don't you just add a share?"
Should you have a share on the other box?
Celebrate Intellectual Diversity