Re: Detect a file upload, can I?
From: Nico Kadel-Garcia (nkadel@bellatlantic.net)Date: 10/29/02
- Next message: Friedhelm K. Neyer: "No ssh-login w/o password"
- Previous message: Brian: "Detect a file upload, can I?"
- In reply to: Brian: "Detect a file upload, can I?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net> Date: Tue, 29 Oct 2002 14:45:13 GMT
"Brian" <tobrian@email.com> wrote in message
news:9efa349a.0210290206.3a1d6509@posting.google.com...
> Hi. Sorry for the Newbie ignorance. I have never installed an SSH or
> SFTP server before, but I'm looking for a solution to a problem. We
> use Windows 2000. A client wants to upload a file to us daily. They
> are not very sophisticated and wanted to just use a scheduled batch
> file in Windows to ftp the file to us. We want to detect the file
> upload and start the application that processes it. If I install an
> sftp server on our end and point them to an sftp client, could I do
> this simply? I suppose I could write an application to poll the
> directory for new files, but I would rather the server detect the
> upload and start the application. Is this possible?
>
> Thanks in advance for any tips and information you can spare for me.
Cygwin at www.cygwin.com has SSH support. This can be done.
However, for an automated upload like this, you might be better off doing a
*pull* from his webserver or ftpserver rather than a push. rsync over SSH
might be even better, to avoid transferring files that are already present.
A scheduled job to check for changes in that repository, or for a flag file,
should complete the process.
There's no need for sftp: this can be done via ssh or via rsync over ssh.
- Next message: Friedhelm K. Neyer: "No ssh-login w/o password"
- Previous message: Brian: "Detect a file upload, can I?"
- In reply to: Brian: "Detect a file upload, can I?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|