[CentOS] Using shell variables inside the ftp client

Thu Jul 21 20:52:47 UTC 2011
Always Learning <centos at u6.u22.net>

On Thu, 2011-07-21 at 16:40 -0400, James B. Byrne wrote:

> I have a script that opens an ftp connection to a non-*nix system. 
> I desire to change directories on the host system using a shell
> variable to set the cd directory.  However, I cannot seem to
> discover how this is done.

Check the FTP configuration file on the remote server. There might be a
block to stop you moving-out of your log-on FTP directory.


VSFTP on Centos has this capability so too, I imagine, has other FTP
servers.

-- 
With best regards,

Paul.
England,
EU.