Capability

2017-04-04 17:29

I was looking through the documentation and not sure I can accomplish what I need. I would like to ask a simple question if possible. I'm no expert on FTP or scripting, but not afraid to do the work to make it work. Before I go down that route can someone confirm that I can accomplish the following.........

I want to put a command line at the top of a batch job that confirms that the receiving FTP server is online and functioning. I'm thinking I would write a login script and if it does not work WinSCP would return some type of error code which the batch job can look for. If the error exists the batch job would exit and not try to send the data file.