login about faq

Is there a way (or exit point) to be notified that a file has landed so I can start my file processing with no manual intervention?

asked Mar 21 '14 at 23:57

jchamb's gravatar image

jchamb
1111


If using a script to transfer the file you can check the exit code after the file transfer to see if there were any errors, but you would need to switch to a terminal(ssh) connection or remote command in order to execute/start any file processing, because SFTP, and SCP doesn't allow for execution of OS scripts, or applications.

Or if pulling a file (get command) you could check the exit code, and then if 0 then start the processing locally.

Without knowing more about your environment or how often files are updated or over written there maybe other measures you should take in order to be completely sure that your processing the fully transferred and an corrupted file though.

link

answered Mar 25 '14 at 21:14

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦
55215

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: Mar 21 '14 at 23:57

Seen: 1,134 times

Last updated: Mar 25 '14 at 21:14

Related questions

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.