upload arduino sketch via LAN

Hello,

There is my situation -

laptop1 with windows 10 - in USB port connected FTDI USB adapter like this (https://www.amazon.com/gp/product/B00IJXZQ7C/ref=oh_aui_detailpage_o05_s02?ie=UTF8&psc=1)

into this adapter connected Arduino Mini

and then on laptop1 I have new COM port.

I can upload sketches to Arduino Mini from application installed on laptop1 via this COM port.

But I need upload it from laptop2 which located in the same local network with laptop1.
So it should be like:

laptop2 -> LAN -> laptop1 -? Arduino.

or more detailed:

laptop2 -> virtual COM port - some app layer - LAN - laptop1 - app layer - real COM port - Adruino.

So my question - is there some free windows application that will help me upload my code via LAN?

Thank you.

There are lots of programs so choice is not a problem.

Have you considered sharing the Arduino programs folder and setting the permissions for it so you can see and use a single instance of the IDE ?

Some of the possibility may depend on your version of Win 10.

Thank you, but I need exactly this variant - push my code from my laptop2 via LAN to laptop1 with Arduino connected.
The other variants - are not my case unfortunately.
So I need the tool that can share COM port on laptop1 via LAN to some TCP port and tool that can create virtual COM port redirected to this shared COM port.
And these tools should work on Windows and should be free..
I've spent two day in searching such tools and can't find.
I think this is kind of usual situation and I ask for help those who already found such tools or workaround.
Thank you again.

So something like THIS or THIS

There are plenty of methods almost all FREE.

A simple search of the term "share com port over network" works well.

I have shared data FROM arduino serial statements from a COM port to a network and into a database or spreadsheet but not actually your method.

Thank you, but I've aready checked first tool and it can create only virtual COM port and map it to TCP port.
but it can't do the same for REAL COM port.
Also I've read about some null-modem function from Total Commander but seems it is not the function that I need..

It seems that only non-free tools can do what I want.. (

I can split my task on to steps:

1 step - on laptop1 (Win10 x64) share real COM port from Arduino to TCP port

for example when I connect FTDI adapter with Arduino to laptop it creates COM26 in Device Manager
So I need tool that can use this COM26 and map it with some TCP port, for example 7000
Finnally I should have on this laptop port 7000 in LISTENING mode and everything that come to this port from LAN should redirect to COM26 and vise-versa.

2 step - on laptop2 (win7 x64 - Code::Blocks for Arduino IDE) create Virtual COM port (for example COM123) that should be mapped to laptop1:7000 via LAN.

So in my IDE I can choose COM123 and flush my program and this data go via LAN to COM26 on laptop1.

If you are all the way up to COM 26 you may want to flush unused ports unless you really are using all 26 !

Search for "remove unused com ports"

From the "-P port" option reference at AVRDUDE: 2.2 Programmers accepting extended parameters

For programmers that attach to a serial port using some kind of higher level protocol (as opposed to bit-bang style programmers), port can be specified as net:host:port. In this case, instead of trying to open a local device, a TCP network connection to (TCP) port on host is established. The remote endpoint is assumed to be a terminal or console server that connects the network stream to a local serial port where the actual programmer has been attached to. The port is assumed to be properly configured, for example using a transparent 8-bit data connection without parity at 115200 Baud for a STK500.

This indicates that AVRDUDE, the program that Arduino IDE uses to upload to your Mini, does support doing what you want to do.