I have problems with a Flow Service on webMethods 8.2
What I pretend to do is taking a file from a remote server by ftp. But, when this file becomes bigger and I run this service again I want to take just the piece of file what have change.
First I use the service client.ftp:login for begin the communication, I navigate to the folder where the file is in the remote server. Then I start using RAW commands, and for that I use client.ftp:quote, first I check if the size of the file (the string I use in the quote is size ‘filename’) for evaluate have changed. If that happens, I establish a binary communication (the string is TYPE I) and the passive mode (PASV). The next step is marking where I have to start reading the file, and for that I used the RAW command, with quote, REST ‘position’ at this point everything works right, but now I have the problem with the RAW command RETR, with the quote I indicate the following string rest ‘filename’ and when this operation is done the program keeps running but not finishing.
I have tried using client.ftp:get but it doesn’t work with a piece of file, just for the entire file, I also have tried with ASCII transfer and it isn’t allowed for the FTP, and it doesn’t work.
This is the FLOW SERVICE if it could help.