An image processing apparatus including a storage unit and having a file server function of enabling a reading/writing access of the storage unit via a network, which enables an external apparatus to write a file to the storage unit and to read a file stored in the storage unit, comprising: a detection unit configured to detect a file being stored into the storage unit; a setting unit configured to set a notification destination of a path for use by the external apparatus to read the file stored in the storage unit; a holding unit configured to hold a notification condition for determining whether the path should be notified in a case where said detection unit detects that the file is stored into the storage unit; and a control unit configured to perform control of path notification, wherein said holding unit is configured to hold the notification condition indicating that the path should be notified in a case where said detection unit detects that the file, which is stored into the storage unit, is a file generated by scanning an original by the image processing apparatus, and the path should not be notified in a case where said detection unit detects that the file is stored into the storage unit via the file server function from the external apparatus via the network, and said control unit is configured, in a case where said detection unit detects that the file is stored into the storage unit, to perform control to notify the path to the notification destination set by said setting unit based on the notification condition if the file, which is stored into the storage unit, is a file generated by scanning an original by the image processing apparatus, and perform control not to notify the path based on the notification condition in the case for which it is indicated in the notification condition that the path should not be notified. a detection unit configured to detect a file being stored into the storage unit; a setting unit configured to set a notification destination of a path for use by the external apparatus to read the file stored in the storage unit; a holding unit configured to hold a notification condition for determining whether the path should be notified in a case where said detection unit detects that the file is stored into the storage unit; and a control unit configured to perform control of path notification, wherein said holding unit is configured to hold the notification condition indicating that the path should be notified in a case where said detection unit detects that the file, which is stored into the storage unit, is a file generated by scanning an original by the image processing apparatus, and the path should not be notified in a case where said detection unit detects that the file is stored into the storage unit via the file server function from the external apparatus via the network, and said control unit is configured, in a case where said detection unit detects that the file is stored into the storage unit, to perform control to notify the path to the notification destination set by said setting unit based on the notification condition if the file, which is stored into the storage unit, is a file generated by scanning an original by the image processing apparatus, and perform control not to notify the path based on the notification condition in the case for which it is indicated in the notification condition that the path should not be notified.