Hi,
We are sending DGN file from a browser. When DGN file is open in MicroStation and it is being sent via browser at the same time, mostly DGN file disappears (deleted) and DGNxxxxx.tmp file is created. After exiting MicroStation, when you manually rename DGNxxxxx.tmp as DGN file, it works fine.
Why DGNxxxxx.tmp file is created?
Why original DGN file is deleted?
DGN file is still open during sending it by browser. Sending process may take several minutes according to upload speed.
I think MicroStation wants to autosave DGN file during upload process. Because two applications wants to use same file at the same time, MicroStation fails to update it.
How can we fix this collision?
Regards,
Ahmet Sedat ALIS
AEC Technology
This could be a bit challenging to diagnose without having all the parts involved (e.g. the form, details on browsers, etc.) Would it be possible to identify the workflow you are using? Particularly if you are sending the file from within a MicroStation session or as a separate process. And whether you are running MicroStation by itself or have other Bentley or custom applications involved. Also, is the DGN file local, on a network, on a file share, etc.?
Unknown said: This could be a bit challenging to diagnose without having all the parts involved (e.g. the form, details on browsers, etc.) Would it be possible to identify the workflow you are using? Particularly if you are sending the file from within a MicroStation session or as a separate process. And whether you are running MicroStation by itself or have other Bentley or custom applications involved. Also, is the DGN file local, on a network, on a file share, etc.?
Hi Phil,
When DGN file is open in MicroStation I am running a custom application and it brings Google Chrome browser with a HTML form that includes some text information and an input (file) tag included. Then I am selecting DGN file (DGN is still open in MicroStation) and click Send button to submit the form. Browser starts sending DGN file to remote server. During sending the file to server, DGN file is still open in MicroStation. After DGN file is sent (it may take up to 5 minutes) and you exit MicroStation, original DGN file is absent in the folder but there is a DGNxxxxx.tmp file.
DGN file is in local C drive.
Kind regards,
Sedat AlisAEC Technology Inc.
Ahmet,
Did this file transfer ever work? Might this be the expected behavior to avoid having multiple copies of the same file?
Unknown said: Ahmet, Did this file transfer ever work? Might this be the expected behavior to avoid having multiple copies of the same file?
Hi Moharr,
Yes, file transfer is working.
I am not sure about the file saving procedure of MicroStation.
I think during the transfer MicroStation tries to save the file as DGNxxxx.tmp, delete original DGN and rename DGNxxxx.tmp as original DGN file.
I also don't understand how the file is deleted?