在上传一个大文件时显示一个真正的进度条是经常需要的(并且非常友好的)功能,但在PHP的文件上传处理中这并不容易做到。
Showing a real progress bar when uploading large files is an often requested (and quite informative) feature, which is not easily doable with the way the upload handling works in PHP.
还可以上传您自己的文件,这样其他人就可以查看并处理它们。
And you can upload files of your own so that other people see and work with them.
既然已经将基本虚拟机导入最终的主机托管环境,就需要添加另一个硬盘,以便处理将上传的许多文件。
Now that the base virtual machine has been imported into its final hosting environment, we need to add another disk to handle the many files that will be uploaded.
上传页面可以是任何可以处理上传文件的页面,甚至是另外一张Aspx页面。
The upload page can be any page that can handle uploaded pages, even another ASPX page.
处理文件上传仅是整体的一部分。
您可以查看并处理由他人上传的文件(参见图26)。
You can browse and work with files that others have uploaded (see Figure 26).
一旦文件上传完毕,一个服务实例就会被启动来处理队列中的消息。
Once the files have been uploaded, a service instance can be started to process the messages in the queue.
这会导致需要处理一些新的事情,特别是,针对上传进行排列的JPEG文件链接列表和一些pthread代码。
This gives us all sorts of exciting new things to deal with; in particular, a linked list of JPEG files that are queued for uploading and some pthread code.
增强文件处理和上传的方式。
在处理购物车或文件上传时,我们需要恰当地设置Azure Queue;使得业务逻辑在后台处理,从而提升前端性能。
This would be an appropriate setup for handling shopping carts or file uploads; the business logic is processed in the background to improve performance on the front-end.
如果它处理文件上传,可以使用Flash控制。
If it can handle file uploads, it can use the Flash control.
第二,一些通常会造成页面刷新的操作,如上传一个文件,都得到了处理,从而不再需要加载页面。
The second lesson is that operations that normally cause page refreshes, such as uploading a file, are handled so that no page load is required.
为此,需要添加代码来处理上传,解析文件名,以及创建与上述模式相匹配的目录路径。
To do so, you need to add code to handle the upload, parse the file name, and create the directory paths to match the scheme above.
有了这些选项,您可以在进行实时连接时精确地复制文件,关闭掉连接,处理它,然后在您完成处理以后将它们上传回到服务器上。
With this option, you explicitly copy files locally while you have a live connection, close the connection, work on the files later, and upload them back to the server after you have finished.
最后,我们需要对大于1MB的上传文件进行错误处理。
The last thing we need to do is add some error-handling code for uploads larger than 1mb.
保存文件。如果你正在你的硬盘上处理,将它上传到你的站点服务器上。
Save the file. If you are working on your hard drive, upload it to your site server.
API函数处理上传文件的过程比结束计算的过程要优先。
API functions are available for uploading files prior to finishing computation.
API函数处理上传文件的过程比结束计算的过程要优先。
API functions are available for uploading files prior to finishing computation.
应用推荐