I wrote a C++ program in HP-UX 11.23 which is periodically fetching data from an FTP server using CURL. The program has been written as a daemon. The problem is as follows:
After some time, while trying to fetch files, the daemon gives FTP error: "Access Denied 500" If I restart the daemon, it becomes OK.
Could you please help me?