A communication apparatus (101, STA-A) capable of transmitting data to an external device (101, STA-B), comprising: a transmitting unit (107, 209) configured to transmit to the external device (101, STA-B) before wireless network connection processing is performed, first information as transmission data-related information; a receiving unit (107, 208) configured to receive a response from the external device after the transmission data-related information has been transmitted by the transmitting unit, wherein the response may be a success response or a rejection of data transmission; a network connection unit (102, 210, 211) configured to, after the success response has been received by the receiving unit, perform the network connection processing; a communication unit (102, 210, 211) configured to establish communication with the external device so that data can be transmitted using the wireless network connection after the success response has been received by the receiving unit; and a file transmitting service providing unit that performs file transmission processing to transmit the data to the external device after the success response has been received by the receiving unit; wherein the transmitting unit is further configured to transmit to the external device second information as the transmission data-related information, wherein the first information as the transmission data-related information is a temporary file information that does not have to match the file information that is actually transmitted, wherein the temporary file information being used for notifying the external device of a number of files, name and a size of data before the data to be transmitted to the external device is determined, the file name including a suffix to enable to recognize in advance the kind of file being transmitted, the temporary file information values being either pre-stored fixed values or as values that are different each time a session is generated, wherein the second information as the transmission data-related information is information taken after file selection completion including confirmed file information. a transmitting unit (107, 209) configured to transmit to the external device (101, STA-B) before wireless network connection processing is performed, first information as transmission data-related information; a receiving unit (107, 208) configured to receive a response from the external device after the transmission data-related information has been transmitted by the transmitting unit, wherein the response may be a success response or a rejection of data transmission; a network connection unit (102, 210, 211) configured to, after the success response has been received by the receiving unit, perform the network connection processing; a communication unit (102, 210, 211) configured to establish communication with the external device so that data can be transmitted using the wireless network connection after the success response has been received by the receiving unit; and a file transmitting service providing unit that performs file transmission processing to transmit the data to the external device after the success response has been received by the receiving unit; wherein the transmitting unit is further configured to transmit to the external device second information as the transmission data-related information, wherein the first information as the transmission data-related information is a temporary file information that does not have to match the file information that is actually transmitted, wherein the temporary file information being used for notifying the external device of a number of files, name and a size of data before the data to be transmitted to the external device is determined, the file name including a suffix to enable to recognize in advance the kind of file being transmitted, the temporary file information values being either pre-stored fixed values or as values that are different each time a session is generated, wherein the second information as the transmission data-related information is information taken after file selection completion including confirmed file information.