I have the attached project, in which we have used a script to get and put the files from the ftp server. the script connects to the FTP server and we can see the entry for the file when we select put. But the actual file is not getting copied, only a zero byte entry is made with the file name, and the entry gets deleted once we stop debugging. Please help me to get it fixed.
Based on your description I would guess that you are exiting your upload too fast. I would not really have a suggestion as your are doing this from the command line, so you might consider seeking support from the vendor of the FTP client on how to properly call it. Pega Robotics does not have any FTP components that it provides. I know .Net has some deprecated ones that you can use in C#, but they now recommend that you use a third party one.