Hi:
I am using the 'quote' subcommand of ftp to execute a command at a remote host. However, as far as I can see, 'quote' does not wait for the remote command to finish execution. It simply passes control to the next ftp subcommand.
Since the next step is dependent upon the remote command's successful completion, is there some way to perform the following:
1. Execute a command at a remote host with a dos-like operating system
2. Wait for that task to finish before proceeding to the next step.
Many thanks !
I am using the 'quote' subcommand of ftp to execute a command at a remote host. However, as far as I can see, 'quote' does not wait for the remote command to finish execution. It simply passes control to the next ftp subcommand.
Since the next step is dependent upon the remote command's successful completion, is there some way to perform the following:
1. Execute a command at a remote host with a dos-like operating system
2. Wait for that task to finish before proceeding to the next step.
Many thanks !