LFTP Script to Download files and remember old downloads
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I would like a script that downloads files every x minutes and remember which files it has downloaded. I found this similar question; LFTP Script to Download Files
The problem is once the file has downloaded from the source it needs to remain at the source, however once hitting the target, it will be deleted from that folder.
So, if it downloads from the source, then gets delete from the target, I would assume that the script will simply download the same file, over & over.
I haven't been able to find anything that specifically covers this scenario on this site or Google. I apologise if I missed something. I am not great with scripts, but, am thinking I may be able to use the above example script, then combine it with a parameter that checks for an existing file in a download log? However, I am just not sure if 1) that can work and 2) how I would go about doing it.
Thanks for reading & I appreciate any help you can offer :)
scripting lftp synology
New contributor
add a comment |Â
up vote
0
down vote
favorite
I would like a script that downloads files every x minutes and remember which files it has downloaded. I found this similar question; LFTP Script to Download Files
The problem is once the file has downloaded from the source it needs to remain at the source, however once hitting the target, it will be deleted from that folder.
So, if it downloads from the source, then gets delete from the target, I would assume that the script will simply download the same file, over & over.
I haven't been able to find anything that specifically covers this scenario on this site or Google. I apologise if I missed something. I am not great with scripts, but, am thinking I may be able to use the above example script, then combine it with a parameter that checks for an existing file in a download log? However, I am just not sure if 1) that can work and 2) how I would go about doing it.
Thanks for reading & I appreciate any help you can offer :)
scripting lftp synology
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I would like a script that downloads files every x minutes and remember which files it has downloaded. I found this similar question; LFTP Script to Download Files
The problem is once the file has downloaded from the source it needs to remain at the source, however once hitting the target, it will be deleted from that folder.
So, if it downloads from the source, then gets delete from the target, I would assume that the script will simply download the same file, over & over.
I haven't been able to find anything that specifically covers this scenario on this site or Google. I apologise if I missed something. I am not great with scripts, but, am thinking I may be able to use the above example script, then combine it with a parameter that checks for an existing file in a download log? However, I am just not sure if 1) that can work and 2) how I would go about doing it.
Thanks for reading & I appreciate any help you can offer :)
scripting lftp synology
New contributor
I would like a script that downloads files every x minutes and remember which files it has downloaded. I found this similar question; LFTP Script to Download Files
The problem is once the file has downloaded from the source it needs to remain at the source, however once hitting the target, it will be deleted from that folder.
So, if it downloads from the source, then gets delete from the target, I would assume that the script will simply download the same file, over & over.
I haven't been able to find anything that specifically covers this scenario on this site or Google. I apologise if I missed something. I am not great with scripts, but, am thinking I may be able to use the above example script, then combine it with a parameter that checks for an existing file in a download log? However, I am just not sure if 1) that can work and 2) how I would go about doing it.
Thanks for reading & I appreciate any help you can offer :)
scripting lftp synology
scripting lftp synology
New contributor
New contributor
New contributor
asked 6 mins ago
Dr Spaldo
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Dr Spaldo is a new contributor. Be nice, and check out our Code of Conduct.
Dr Spaldo is a new contributor. Be nice, and check out our Code of Conduct.
Dr Spaldo is a new contributor. Be nice, and check out our Code of Conduct.
Dr Spaldo is a new contributor. Be nice, and check out our Code of Conduct.
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%2funix.stackexchange.com%2fquestions%2f478194%2flftp-script-to-download-files-and-remember-old-downloads%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