sending job scheduling to a distant pc

yougy
yougy used Ask the Experts™
on
I need to start some batch files on a distant pc trough the internet and via broadband connection. This pc is behind a modem-routeur-firewall (port 80 and 21 opened). How can I send a task scheduling to this pc to start my batch file (sending previously by ftp).

PS : I succeeded to send a job scheduling to another pc but it was in a local network and with the function 'RASDIAL'. Is there an equivalent to solve my problem ?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2018
Distinguished Expert 2018
Commented:
Provided that the file doesn't need to be run immediately after upload, the safest way is probably by using the task scheduler. That keeps you from having to open additional ports on your firewall and from sending administrator passwords over the internet.
Create an account on the machine (or the domain, if present), for example "SrvFTPTask"; give it the necessary rights. Use this account to schedule a task to run, for example, every 15 minutes. The task to run would be a batch file that looks for the presence of your new batch, and, if found, executes it and then either marks it as executed or deletes it.
Can you provide some more informations about what you want to achieve with the uploaded batch?

Author

Commented:
Thanks for your reply. I think your solution is the most secured.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial