kluznic

Q: Applescript to transfer files from pc to another pc via screen sharing (vpn)

Is it possible to transfer files from my laptop to another PC (e.g. a mac mini) via screen sharing using applescript?

 

For simplicity, the screen sharing window is active and logged in to vpn://xx.xx.xxx.xx (where xx...xx is the ip of the mac mini)

OS X El Capitan (10.11.4)

Posted on Jul 19, 2016 11:16 PM

Close

Q: Applescript to transfer files from pc to another pc via screen sharing (vpn)

  • All replies
  • Helpful answers

  • by kluznic,

    kluznic kluznic Jul 19, 2016 11:44 PM in response to kluznic
    Level 1 (8 points)
    Mac OS X
    Jul 19, 2016 11:44 PM in response to kluznic

    sorry, I meant vnc://xx.xx.xxx.xx

  • by VikingOSX,

    VikingOSX VikingOSX Jul 20, 2016 3:59 AM in response to kluznic
    Level 7 (20,606 points)
    Mac OS X
    Jul 20, 2016 3:59 AM in response to kluznic

    Using Apple Screen Sharing between my 2011 Mac mini, and 2014 MacBook Air, I can view the MBA screen on the mini. This also provides two-way, drag and drop file transfer (copy) between the MBA and mini screens.

     

    The above was tested using Yosemite on the MBA and Mavericks on the mini, and again with El Capitan (10.11.6) on both machines.

     

    The Apple Screen Sharing utility is located in /System/Library/CoreServices/Applications.

  • by BobHarris,

    BobHarris BobHarris Jul 20, 2016 6:08 AM in response to kluznic
    Level 6 (19,272 points)
    Mac OS X
    Jul 20, 2016 6:08 AM in response to kluznic

    If you can do vnc://xx.xx.xx.xx, why not afp://xx.xx.xx.xx or smb://xx.xx.xx.xx and just transfer the files via file sharing, which would be easier with Applescript or Automator.

     

    If you have System Preferences -> Sharing -> Remote Login enabled, then the scp utility can be very useful for transferring files (scp is part of the 'ssh' family of secure remote connection protocol).