Re: Timeout due to server inactivity when trying t - WeOnlyDo Discussion board

Re: Timeout due to server inactivity when trying t (General questions)

by prabhat, Wednesday, June 24, 2009, 19:44 (5632 days ago) @ woddrazen

Prabhat,


What happens if you use local folder for local path in GetFiles Method?


Drazen


if i am using this

dlx1.GetFiles( C:\FTPL , /FTPGET/ , 5)

then some time we get the files but most of the time this method is giving Timeout occurred due to inactivity problem. Means 90 this error is coming suppose i attempt 10 times then 2 times it coped the file but 8 time it failed with timeout inactivity


if i am using the another method GetFile instead of GetFiles it is working fine. But we have to use GetFiles method because we dont know what is the file name at server as GetFile require file name.

Thanks


Complete thread: