Re: Automating an upload of data



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" <AdrianJones@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!


.



Relevant Pages

  • Re: Error handling bug on GetObject?
    ... I seem to have hit a bug in the error handling of VBScript. ... If Error Handling is not turned on, then the script crashes on the GetObject ... In a main routine, this code behaves exactly as expected. ...
    (microsoft.public.scripting.vbscript)
  • Re: Error handling bug on GetObject?
    ... I seem to have hit a bug in the error handling of VBScript. ... If Error Handling is not turned on, then the script crashes on the GetObject ... In a main routine, this code behaves exactly as expected. ...
    (microsoft.public.scripting.vbscript)
  • RE: Simple Script??
    ... Well, it is not the most elegant solution I have ever written, but the script ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Simple Script??
    ... I had a typo in the path...Your script is AWESOME THANKS AGAIN!!!! ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Simple Script??
    ... But when i run it the script fails. ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)