Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.8k views
in .NET FTP by (120 points)
Hi all,

I've been trying to use this program and it's really great so far. However, I'm trying to use it in a situation where it polls a server every 5 minutes. If there are files available, it downloads them and saves their contents into a database. It works great the first time, then after 5 minutes, it reports an access denied error. If I close the program and re-open it, it works again. Any suggestions?

2 Answers

0 votes
by (162k points)
Are you closing your files after you have read them to write to your database?

Hi all,

I've been trying to use this program and it's really great so far. However, I'm trying to use it in a situation where it polls a server every 5 minutes. If there are files available, it downloads them and saves their contents into a database. It works great the first time, then after 5 minutes, it reports an access denied error. If I close the program and re-open it, it works again. Any suggestions?
0 votes
by
Yes, definitely. I think I may have fixed the problem, though. But, I'm still testing. I've now set the connectmode to PASV and the transfertype to ASCII. And I've inserted error handling. Which sometimes fixes problems on its own. Thanks.

Categories

...