Patent ID: 8825890

Claim:
An image processing device comprising: a storage unit; and at least one processor which executes: a transmission unit that transfers data to a file transfer protocol (FTP) server in a specified transmission mode; a transmission mode specifying unit that initially specifies an active mode for the transmission mode for transferring the data from the transmission unit to the FTP server, and in response to establishment of a data transfer connection in the active mode failing, specifies a passive mode for the transmission mode for transferring the data from the transmission unit to the FTP server; a management unit that, each time the transmission unit transfers the data to the FTP server, stores in the storage unit transmission history data specifying identification data for the FTP server and data indicating, for each transmission mode, whether or not establishment of the data transfer connection in said mode was successful, wherein the transmission mode specifying unit specifies the active mode for the transmission mode in response to the transmission history data comprising data indicating that establishment of the data transfer connections in the active mode and in the passive mode was successful, and wherein the transmission mode specifying unit specifies the active mode for the transmission mode in response to the transmission history data indicating that there are no modes for which the data transfer connection was successful.