I am curious to know if I can pass both the IP and hostname from a command line so that when WinSCP launches it already has the hostname filled and at the same time knows its IP.
What for???? Sorry, either I'm dumb or you are not explaining me what you need. Where do you need a hostname to be filled? I really have no idea what you mean. Do you mean host box on the login dialog? Isn't IP address enough?
The application that that is trying to pass the proper name/IP only knows IP. I am trying to make it so that the user is able to enter the hostname instead of the IP.
If the application passes IP to WinSCP, why do you need hostname to be entered by user? If you need hostname, why do you pass IP at all?