我需要您的建议以在asp.net中获取图像 [英] I need your suggestion for fetching images in asp.net

查看:92
本文介绍了我需要您的建议以在asp.net中获取图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

在我的应用程序中,我有一个名为Submitted的文件夹,用户可以在其中上传文件.

现在,我想获取这些文件,并将它们放在另一个名为认可"的文件夹中.问题是我希望每10-15分钟后自动完成一次.

所以我不确定我到底需要开发什么.

我需要创建Web服务或其他东西吗?

期待您的建议.

在此先谢谢您.

Hello,

In my application I have a folder called Submitted in which user will upload their files.

Now I want to fetch those files and put them in another folder called approved. The problem is I want it to be done every after 10-15 mins automatically.

So I am not sure what exactly I need to develop.

Do I need to create a web service or something?

Looking forward for your suggestions.

Thanks in advance.

推荐答案

您需要 Windows服务!

样本:
发送自动电子邮件警报的简单Windows服务 [ Windows服务应用程序简介 [简单Windows服务示例 [您的第一个C#Web服务 [ Windows Services in Action I [
You need Windows Service!

Sample:
Simple Windows Service which sends auto Email alerts[^]

MSDN: Details about Windows Service:
Introduction to Windows Service Applications[^]

For more details, look here:
Simple Windows Service Sample[^]
Your first C# Web Service[^]
Windows Services in Action I[^]

You have to put a timer in your service and then periodically, check the folder 1 and move the files to folder 2. Try!


是.使用 webservice Windows服务. webservice windows服务应使用计时器,该计时器将定期执行将图像从一个文件夹移动到另一个文件夹的任务.

确保将asp.net权限应用于两个文件夹.



您可以从sourceforge
http://quartznet.sourceforge.net/ [
Yes. Use a webservice windows service. The webservicewindows service should use a timer that will periodically perform the task of moving the images from one folder to another.

Make sure you apply the asp.net rights to both the folders.

OR

You can use this open source job scheduling project from sourceforge http://quartznet.sourceforge.net/[^]


这篇关于我需要您的建议以在asp.net中获取图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆