I could have sworn I posted on this issue earlier a couple of weeks ago but now cannot find the thread to add some updated info so I guess I'll start from scratch.
Running on Oracle Linux 5.6, 64-bit.
I have a weekly job that does an ftp 'mget' to copy a bunch of files from a production server to a test server. The two servers are in two different data centers. One DC has all of our test servers and theoretically would be our disaster recovery location. The other DC has all the production servers. The script has been working flawlessly for years - until .....
We relocated the production DC. With that relocation we got a less reliable and lower bandwidth wireless (microwave ?) link between the two DC's.
Since the DC move, I have not had a successful ftp operation. In every case, it will successfully connect and copy several files, but eventually it will get to a file and just hang. When it hangs, it is not on the first file and it is not on the last file, so the issue has nothing to do with authorization or fundamental connectivity, nor does it have to do with housekeeping of getting started with the overall operation or getting it all wrapped up at the end.
A couple of other 'odd' observations:
1 - For a given set of files to be transferred, once the operation hangs, any repeated attempts hang on the same file.
2 - Each week it is working with an entirely different (newly created since the last week) set of files, so obviously hangs on a different file than the previous week, but see point 1.
3) I have a completely different pair of prod/test servers on which I occasionally have to do the same sort of ftp operation on demand rather than on schedule. It copies a much smaller set of files but exhibits the same 'hanging' behavior.
4) In order to get the real work done, I switched from ftp to scp. With that I can get the files copied and do the work needed, but it is taking much longer. The ftp - when it worked - took between 90 and 120 minutes. With scp it is taking between 6 and 7 hours. I do not know if this time difference is purely due to the bandwidth -- if ftp would now take as long if I could get it to work at all.
My primary question is what could be up with the 'hanging' issue in ftp, and how do I go about resolving it?