Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
10k views
in Java FTP by (180 points)
Hi

I am using the edtFTPj for moving a file from the remote server to local server and is processing and moving to a backup directory using some custom coding. But I notice that for each file I am processing, there is a hidden file getting generated and evry time I process the files again the earlier work is gettting duplicated because of the processing done on the hidden files which is an exact copy of the file I already processed. Is it something to do with the FTP?

Thanking in advance.
Arun.

6 Answers

0 votes
by
No. What do you mean by a hidden file?

Hi

I am using the edtFTPj for moving a file from the remote server to local server and is processing and moving to a backup directory using some custom coding. But I notice that for each file I am processing, there is a hidden file getting generated and evry time I process the files again the earlier work is gettting duplicated because of the processing done on the hidden files which is an exact copy of the file I already processed. Is it something to do with the FTP?

Thanking in advance.
Arun.
0 votes
by
A file with filename starting with dot or period is getting generated by the process. Please confirm whether this is happening because of the FTP class.
0 votes
by
A file with filename starting with dot or period is getting generated by the process. Please confirm whether this is happening because of the FTP class.
0 votes
by
[quote="support"]No. What do you mean by a hidden file?

[quote="arun"]Hi

I am using the edtFTPj for moving a file from the remote server to local server and is processing and moving to a backup directory using some custom coding. But I notice that for each file I am processing, there is a hidden file getting generated and evry time I process the files again the earlier work is gettting duplicated because of the processing done on the hidden files which is an exact copy of the file I already processed. Is it something to do with the FTP?

Thanking in advance.
Arun.[/quote][/quote]
0 votes
by (162k points)
It isn't edtFTPj - there is no code in there that creates a duplicate file.

The one thing I can think of is that it is an NFS file - is the file system an NFS mount? This happens with NFS if you delete a file when there are still open file handles to it.

Is it possible that you are moving the file and not closing a file handle on the original?

Hi

I am using the edtFTPj for moving a file from the remote server to local server and is processing and moving to a backup directory using some custom coding. But I notice that for each file I am processing, there is a hidden file getting generated and evry time I process the files again the earlier work is gettting duplicated because of the processing done on the hidden files which is an exact copy of the file I already processed. Is it something to do with the FTP?

Thanking in advance.
Arun.
0 votes
by (180 points)
Our application is generating a file using the UTL_FILE package in oracle and this package doesn't seem to be closing the file, even though the close method is called. And trying to move this unclosed file in an NFS was resulting in the generation of a hidden file which I suspected was because of the FTP. That was wrong and thanks for the support's lead because of which I could solve the issue. Thanks again.

-Arun

Categories

...