Try using the sample project in cvi\cviinet\samples\ftpclnt to see if you get the same behavior. It is a pretty well structured ftp client application.
It is hard to tell what is happening when developing client applications because you have no control over the server in most cases. I doubt you are getting a timeout condition, because usually you will get a -4 error code for that. It seems like the server is just rejecting your requests to view the entire directory. My suggestion would be to try getting the dir list until you no longer receive the -17 code, because I think the server may just be slow in allowing its entire directory to be visible.
If the sample project I mentioned works good for you, try to stick with its general sequence of events in your applicat
ion too.
Hope that helps you out.
Jason Foster
Applications Engineer
National Instruments
www.ni.com/ask