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

Reply
3 replies

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.

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).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

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

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.