I have Ubuntu 14.04 which needs the "ftppwd" utility installed.
I'm trying to run a Unix shell script on Ubuntu. The Unix shell script uses the ftppwd
command.
As of now FTPPWD utility is not installed hence the command as such is not found on Ubuntu.
vagrant@dev-hadoop:~$ ftppwd; lsb_release -a; uname -a
ftppwd: command not found
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux dev-hadoop 3.2.0-92-generic #131-Ubuntu SMP Tue Oct 20 16:16:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
ftplib-dev
. From what I read, all it does is find out the current default working directory on the FTP server. Perhaps you can determine that directory manually and hardcode it into your script? – Jos Oct 29 '15 at 15:27ftppwd
and can be compiled to an executable program. (I couldn't, though.) – Jos Oct 29 '15 at 15:53ftppwd
for? We might be able to help if you [edit] your question and include the script, or at least, the lines of the script that runftppwd
. – terdon Oct 29 '15 at 15:54ftppwd
that simply outputs the current default working directory that you have manually determined. That way, at least your script will work. – Jos Oct 29 '15 at 15:56