Re: Detect a file upload, can I?
From: Nico Kadel-Garcia (nkadel@bellatlantic.net)Date: 10/31/02
- Next message: Brian D. Baer: "Problems with tcsh when using ssh on Mandrake 8.2"
- Previous message: Brian Seery: "Open SSH Password Authentication"
- In reply to: : "Re: Detect a file upload, can I?"
- Next in thread: Kyler Laird: "Re: Detect a file upload, can I?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net> Date: Thu, 31 Oct 2002 14:21:37 GMT
"Brian" <tobrian@email.com> wrote in message
news:9efa349a.0210302245.1646f98e@posting.google.com...
> Thank you for your response. The client wants to push, not pull,
> so...
>
> What do you mean by "This can be done"? I thought you might meen that
> I can configure SSHD and/or sftp-server to execute an action once a
> file has been uploaded. I looked at the documention on
> http://www.openbsd.org/ for these two programs and found not obvious
> way. Short of modifying the source code, is there a way to do this?
You leave a cron job of some sort scanning the directory regularly. When the
directory changes, the job does the extra notification and any extra actions
action. Would an "every 5-minute" scan be frequent enough for you?
> Is your suggesting rsync so that the client can trigger the action
> after upload using ssh? If so, we don't want them to take that
> responsibility. If not, please tell me how rsync can help me with my
> problem.
No, rsync is to reduce the bandwidth of the file transfer and not trigger
the action if no files have actually changed.
- Next message: Brian D. Baer: "Problems with tcsh when using ssh on Mandrake 8.2"
- Previous message: Brian Seery: "Open SSH Password Authentication"
- In reply to: : "Re: Detect a file upload, can I?"
- Next in thread: Kyler Laird: "Re: Detect a file upload, can I?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|