Hi All:
Let me explain what we do with a ftp perl script.
The ftp script runs as cron job, searches in three directoties on remote server, put the files on local directory only if the file is not there on local server, then deletes the original file on the remote server after successful file transfer.
The script has been doing exactly what it supposed to do for almost year but some how recently there were following in consistencies.
1) it finds a file on remote server
2) try to get the file but fail to process the file.
3) even though there is no instace of the file on local server. Still it deletes the file on remote server.
I repeat the script is functioning well even till date despite of the problems.
There are no permission problems, I doubt some network issues.
I really appreciate if someone can help me in this regard.
How to diagnose the exact cause for the above issue?
is there any way to check the file is been locked on remote server?
Thanks in advance.
Let me explain what we do with a ftp perl script.
The ftp script runs as cron job, searches in three directoties on remote server, put the files on local directory only if the file is not there on local server, then deletes the original file on the remote server after successful file transfer.
The script has been doing exactly what it supposed to do for almost year but some how recently there were following in consistencies.
1) it finds a file on remote server
2) try to get the file but fail to process the file.
3) even though there is no instace of the file on local server. Still it deletes the file on remote server.
I repeat the script is functioning well even till date despite of the problems.
There are no permission problems, I doubt some network issues.
I really appreciate if someone can help me in this regard.
How to diagnose the exact cause for the above issue?
is there any way to check the file is been locked on remote server?
Thanks in advance.