How to automatically execute a script when a file transfer is completed
up vote
-1
down vote
favorite
I set up using incron to execute a Python script when a file is added to the directory.
However, I receive an error Unexpected EOF
, since the script is executed before the file transfer is completed.
Is there any way to execute the script when the file is completely transferred?
linux incron
add a comment |
up vote
-1
down vote
favorite
I set up using incron to execute a Python script when a file is added to the directory.
However, I receive an error Unexpected EOF
, since the script is executed before the file transfer is completed.
Is there any way to execute the script when the file is completely transferred?
linux incron
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I set up using incron to execute a Python script when a file is added to the directory.
However, I receive an error Unexpected EOF
, since the script is executed before the file transfer is completed.
Is there any way to execute the script when the file is completely transferred?
linux incron
I set up using incron to execute a Python script when a file is added to the directory.
However, I receive an error Unexpected EOF
, since the script is executed before the file transfer is completed.
Is there any way to execute the script when the file is completely transferred?
linux incron
linux incron
asked Nov 8 at 9:54
Benben
60841123
60841123
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53205250%2fhow-to-automatically-execute-a-script-when-a-file-transfer-is-completed%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password