Brain,
In WmPublic.pub.client:login builtin Service, there is optional input parameter “timeout” jus set it according to your requirements,it’s defalut value is wait forever.
OR
After getting files using FTP, explicitly Logout, so that session ends and when you are putting files again to same server perform following action:
1)Login
2)cd
3)put
4)logout
you can perform the same steps for getting the files from server also.
kindly let me know your concerns.This is for IS601 SP2.
Brain,
In additional to putting the timeout , you might want to put the FTP connection steps in a REPEAT loop for x number of times with a certain lapse time.
Make sure you have a catch block finally and explicitly logout, as sometimes if you do not logout, some FTP sessions behave weird on next time connection.