Is there a way to automate an upload of files from my local dekstop to an external ip address?
Maybe I can write a program in Java/C# that transfers my files from my local desktop to an external Ip and schedule that program every day for exemple??
Is this possible?
Thx
Since you don't specify your OS, am going to assume a Standard OS (*nix), so you could proceed like this:
Create a Bash script (say
myuploads.sh
), and in it, you'll automate the uploading of the files of interest to the remote machine. Something like this:U can then use a standard cron (job scheduler) to schedule when to periodically upload that file, using say a cron entry like this:
That runs the script once every day at midnight
The magic keyword is crontab.
You mention C#, so for the windows system, place the ftp commands in a file:
and schedule a job to run
ftp -n -s:cmd.file 127.0.0.1