Re: Automating an upload of data
- From: "Alexey Smirnov" <alexey.smirnov@xxxxxxxxx>
- Date: 23 Feb 2007 02:03:29 -0800
On Feb 23, 9:56 am, "Neil" <n...@xxxxxxxxxxxxxxx> wrote:
Hi Adrian,
You can easily write a script (well, it needs 2 actually) to interrogate the
ftp folder, and upload the file to your local computer, and then run the
routine on it.
The first script fires an ftp session, the second script does the upload.
Once created, set a Scheduled Task to call it as often as you require.
I do this every night and then process the data locally with VB, but the app
can be of your choosing.
NEIL
"Adrian Jones" <AdrianJo...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FF22E277-54AE-4477-983A-B44FF77F6615@xxxxxxxxxxxxxxxx
Hi,
I need to regularly check an FTP folder for the presence of a file, and if
found, run a routine.
Given that this is all on our ISP's servers, what is the best way to
automate such a routine in ASP.NET?
The end target of the routine is likely to be a MySQL database. If we were
using SQL Server, I assume I could use DTS to trigger the process, but I'm
fairly ignorant of MySQL.
Thanks!- Hide quoted text -
- Show quoted text -
As I understand it, there is no need for any FTP actions. ASP.NET
needs to check if the file is in the local directory and if the file
is there, open it and import to the database. I'm right? So, if the
source file is small I don't see any problem to implement such
function - schedule aspx, depends on input format open the file and
make a connection to MySQL, import your data. That's all :-)
.
- References:
- Re: Automating an upload of data
- From: Neil
- Re: Automating an upload of data
- Prev by Date: Re: newbie question on data in code
- Next by Date: Re: async pages and redirect
- Previous by thread: Re: Automating an upload of data
- Next by thread: SkinID not working for images
- Index(es):
Relevant Pages
|