O$4.3.2: GetFTP error -1110
Mark Phillips
mark.phillips at mophilly.com
Mon Nov 7 10:48:53 EST 2011
On Nov 7, 2011, at 7:22 AM, Grzegorz (Greg) Pasternak wrote:
> Is it possible that the FTPGet command terminates with error code -1110 prior to the actual file transfer to complete?
According to the Omnis doc's the -1110 is raised when the server response includes the "file not found" error from the FTP server.
In 1998 I spent more than a few months working through an FTP client hack to overcome errors such as these. I discovered that proxy and intermediate servers often screw up the transmission and alter the message header. It was difficult to build Omnis code to deal with all of the permutations that resulted.
Building exception handlers appeared to be a nearly infinite task of little business value in a competitive market.
For this reason, and because many network admins lock down FTP to prevent malware intrusions, I abandoned FTP in Omnis apps and moved to a web services model.
The initial effort was a bit of work but, in the end, the code base and my blood pressure stabilized. Life thereafter has been much easier.
hth,
- Mark
More information about the omnisdev-en
mailing list