Can ftp execute script on remote server? - TechRepublic
General discussion
October 19, 2005 at 09:11 AM
kittielemieux

Can ftp execute script on remote server?

by kittielemieux . Updated 20 years, 7 months ago

Using ftp to send files to remote server and I would like to execute a shell script on the remote server before ending ftp session. Is that possible? Using macdef init in .netrc file to carry out my ftp session. Tried using the command !script_name but it couldn’t find the script and I suspect that it’s because of my $PATH – how do I set that? I cd’d to the dir that had the script, and tried !./script_name – still no luck. Thanks, Danielle

This discussion is locked

All Comments