SFTP logic File Already Exists
Good day all,
I'm a novice user so I appologize in advance. I am trying to write a script that will check one windows directory for a file name (example u0731130.dat) before it tries to download a file (example ub04073113.dat) to a different windows directory. It will run through all the files in a specific directory and then quit.
I have been able to make a script that that connects, browses to the folder on the ftp server and download anything in there to the windows directory that I am currently in when I run winSCP. But, that is it. Any help would be greatly appreciated.
I'm a novice user so I appologize in advance. I am trying to write a script that will check one windows directory for a file name (example u0731130.dat) before it tries to download a file (example ub04073113.dat) to a different windows directory. It will run through all the files in a specific directory and then quit.
I have been able to make a script that that connects, browses to the folder on the ftp server and download anything in there to the windows directory that I am currently in when I run winSCP. But, that is it. Any help would be greatly appreciated.