本文介绍了有趣的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个应用程序App1和App2。


App1只是检查新版本的App2。


如果找到更新的版本App2将下载App1和App2。 (两者都是

)。这就是我现在在申请中所做的事情。


我从FTP服务器上下载,我可以看到下载进度。

但是,下载时完成后,App1没有更新(我理解,因为它的文件在更新过程中被锁定)。

(不要问我为什么我下载App1然后:))。


所以,我可以看到App1和App2的下载过程,App2得到更新

(因为它不是已锁定),App1没有更新(可能是

,因为它在下载过程中被锁定)。


我的问题是如果我能看到下载进度,更新会怎样?App $的
?不应该弹出警告框说文件访问

拒绝?在我的情况下,它没有。一切看起来都在下载

App1并覆盖它但是当我运行代码时,我可以看到运行的是

实际上是旧的App1。


只是一个有趣的事情,想知道下载文件

究竟发生了什么。


谢谢,


-

Dino Buljubasic

软件开发人员


I have two applications App1 and App2.

App1 is just checking for new version of App2.

If it finds newer version of App2 it will download App1 AND App2. (both of
them). That is what I am doing now in my application.

I am downloading from an FTP server and I can see download progress.
However, when the download is finished, App1 is not updated (which I
understand, because its file is being locked in the process of update).
(don''t ask me why I download App1 then :)).

So, I can watch the download process of both App1 and App2, the App2 gets
updated (because it was not locked), App1 does not get updated (probably
because it was locked during the download).

My question is "If I can see download progress, what happens with the update
of App1?" Should not this pop up the warning box saying "File Access
Denied"? In my case it does not. Everything looks like it is downloading
App1 and overwriting it but when I run the code, I can see that what runs is
actually old App1.

Just an interesting thing, wondering what actuallly happens with the file
being downloaded.

Thank you,

--
Dino Buljubasic
Software Developer
http://rivusglobal.com


推荐答案





这篇关于有趣的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 07:31