I have to send data to legacy FTP server which "MODE BLOCK" and "STRUCT RECORD" or "MODE B" and "STURCT R" are mandatory.
Is there any open source FTP client on linux or programming library which "MODE BLOCK" and "STRUCT RECORD" functions are enabled? (Preferably FTP Client on linux).
Looking at the JavaDOC for Apache Commons FTP library, it looks as though constants exist for this functionality.
http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html
http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#BLOCK_TRANSFER_MODE
http://commons.apache.org/proper/commons-net/apidocs/org/apache/commons/net/ftp/FTP.html#RECORD_STRUCTURE