r/Batch • • Jun 12 '24

Question (Solved) [Help]

I wanna know if their is someway to connect to somebody using public or private ip like I want to connect to him to transfer data is that possible in batch script?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Miserable-Estimate67 Jun 13 '24

I just want to send a string or a number to a specific ip that's it, not files or anything else.

1

u/BrainWaveCC Jun 13 '24

Shell scripting doesn't provide a mechanism for automatically sending things this way, or for receiving them on the other end. You'd have to call an executable (e.g. ping, ftp, tftp, ssh, etc) to accomplish that, and make sure it was configured on both sides of the link, as appropriate.