Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win 2003 listening to a port?

Status
Not open for further replies.

Aerodyne

Programmer
Dec 2, 2003
13
GB
Hi all,

I need Windows 2003 SP1 to listen for a connection on a specific port & accept a file sent to that port... then save the file in a folder/dir that I set it?

Is it possible to do this... or if I need some s/w (prefer free) set up please let me know.


TIA
 
Why don't you setup an FTP site on the server set to the specific port and get your source machine to FTP the file?

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
It's actually an application that I've coded so it opens a socket... it sends a text file to an IP addr & port #. I was wondering if I can get Windows 2003 SP1 standard edition to deal with everything else on the server end?

Don't think I want to get my app to deal with FTP usr/pwd stuff!

Just listens to a port & gets teh file into a folder.


Thanks
 
You would need to write software to open the listening port and accept the connection and write the file. Windows won't do any of that for you.

Denny
MCSA (2003) / MCDBA (SQL 2000) / MCTS (SQL 2005) / MCITP Database Administrator (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top