Transmission of incomplete files

You are here

Transmission of incomplete files

4 posts / 0 new
Last post
MZ
MZ's picture
Transmission of incomplete files

Hi,

I found out that AS2 also transmits incomplete files which have not been fully copied to the outbox due to slow copy speed. What can be done to prevent this.
Is the only way to copy the files to another directory and then make a move to the outbox directory?

Regards,
MZ

heller
heller's picture

MZ,

that's a very good point, we ignored this problem so far.
I think there is no other solution available than your copy and move idea.

In the next version we will add a file pattern list for files that will be ignored in the outbox directory for every partner. Than you could upload your data to the outbox dir (e.g. via ftp) and rename it when the process has been finished. Would this solve your problem?

Regards
Heller

MZ
MZ's picture

This problem is typical for all automatic processes espacially for data transfer via FTP as you mentioned.
Renaming is a good solution. If renaming is not possible via ftp another solution could be sending an empty OK-file to the outbox after data file transmission (order of transmission is important!):

1st: transmission of data file e.g. test.txt
2nd: transmission of ok file e.g. ok_test.txt

In this mode AS2 should start transmission of file in outbox when ok-file is also there. After data file transmission the ok file will be deleted.

Perhaps you can implement both solutions? I hope the next version is comming soon... :-)

Regards,
MZ

heller
heller's picture

MZ,

ok, we will implement both methods.

Regards
Heller