I have found the attached code which sets the the 'Fileexists' user variable to true if a specified file exists on the FTP site, I understand that the I have to create a user variable Fileexists and then use it as a write variable in the script task , but I am new to c# coding, do would really help if you can look at the code and provide any corrections. I understand that I have to give the ftp credentials, folder name and file name in the C# code but I am not aware of the rest of the syntax.
Please help. For ex: the ftp site = ftp.networks.com
, username: user1, pwd: 123, the folder path:
Thanks script-task.txt script-task.txt