Autmated file download from VDS
- mrquiglz
- New to forums
- Posts: 4
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Aug 16, 2019 6:26 pm
Autmated file download from VDS
Id like members connecting to my VDS to be able to automatically run a batch file... converted to exe and have the batch file connect to the server and download a text file that may be updated from time to time. Im wondering if anyone may be able to help with this. SImply need to connect and download a file to a particular folder in a users directory.
Play stupid games win stupid prizes.
Re: Autmated file download from VDS
When would you like this run -- do you want it run when they log in?
On Windows, automated tasks are generally best handled through the Task Scheduler. It can be set up to trigger a task to occur under a variety of conditions, such as upon user login, machine bootup, at specific intervals, etc.
On Windows, automated tasks are generally best handled through the Task Scheduler. It can be set up to trigger a task to occur under a variety of conditions, such as upon user login, machine bootup, at specific intervals, etc.
Re: Autmated file download from VDS
I want this to run daily. This would be to machines I don't ha e physical access to but their owners will allow me to give them a batch file or exe to download said files. If I was going to be running it on Task Scheduler for only my won PC there wouldn't be much of a need. I tried using osftp but the script kept telling me the code get and lcd were not recognized commands in cmd line
Play stupid games win stupid prizes.
Re: Autmated file download from VDS
I'm not sure what you mean, then. Are you downloading from other machines onto the VDS?
Are you running Windows?
I was not suggesting that you use an external task scheduler. I was suggesting using it inside the VDS.
Are you running Windows?
I was not suggesting that you use an external task scheduler. I was suggesting using it inside the VDS.
Re: Autmated file download from VDS
My goal is to have them download a file on a scheduled basis from the VDS. Particularly a .txt file. My VDS is running CENTOS 6 as a VPN. However i want people to be able to download said file autmatically from the server. I propesed possibly a batch file using sftp but it claims the commands "get" and "lcd" are not recognized commands.
Play stupid games win stupid prizes.
Re: Autmated file download from VDS
You might consider setting up a lightweight webserver, then, if it's just a simple file that needs to be grabbed.