Solved

C++ program gives error while fetching files using CURL.

Posted on 2011-02-18
1
532 Views
Last Modified: 2012-06-21
Dear Experts,

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?

BR,
0
Comment
Question by:GurcanK
1 Comment
 
LVL 40

Accepted Solution

by:
evilrix earned 500 total points
ID: 34925971
Is it possible the remote end is disconnecting your service after a period of time? Assuming it doesn't already, have you tried changing the code so that it logs out and then back in again after every attempt to collect data?

Unfortunately there isn't much to go on here so all we can do is speculate. If you can provide more details about how your daemon works that would be helpful.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Need recommendation for a DNS host provider. 3 66
MPLS VRF bridging 4 47
UNIX SCP 5 49
HSRP needed? 4 31
I know for anybody starting from Beginner to Expert in Networking knows what OSI model. But this tutorial is for freshers or those who are new to networking world. Why I am putting OSI in such simple and compact manner is because it enables you to k…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now