Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Applescript help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Script/Terminal" data-source="post: 1692829" data-attributes="member: 366703"><p>It would probably be wiser to use terminal to do this. I am no expert but I suggest netcat/nc. You need to have access to wherever you are trying to transfer your files. The syntax would (on a mac, linux is a different ballgame all together) "nc -l 2222 <whatever you want to call the file" on the machine you want to transfer the files to. The syntax would be "nc -p 2222 youripaddress >file you are transferring". Enter those commands without quotes. Hope this helps, if your are dead set on using script editor then I suggest do shell script "nc junk" also on openBSD, macs, you can make your computer continually listen for a signal on that port from your computer. You can choose the port you want but I believe the first 1048 require a sudo command to use. In applescript to use sudo add "with administrative privileges". This is necessary to use these lower ports.</p></blockquote><p></p>
[QUOTE="Script/Terminal, post: 1692829, member: 366703"] It would probably be wiser to use terminal to do this. I am no expert but I suggest netcat/nc. You need to have access to wherever you are trying to transfer your files. The syntax would (on a mac, linux is a different ballgame all together) "nc -l 2222 <whatever you want to call the file" on the machine you want to transfer the files to. The syntax would be "nc -p 2222 youripaddress >file you are transferring". Enter those commands without quotes. Hope this helps, if your are dead set on using script editor then I suggest do shell script "nc junk" also on openBSD, macs, you can make your computer continually listen for a signal on that port from your computer. You can choose the port you want but I believe the first 1048 require a sudo command to use. In applescript to use sudo add "with administrative privileges". This is necessary to use these lower ports. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Applescript help
Top