Re: [CentOS] Using shell variables inside the ftp client

2011-07-22 Thread Ljubomir Ljubojevic
John R Pierce wrote: On 07/21/11 1:52 PM, Always Learning 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

[CentOS] Using shell variables inside the ftp client

2011-07-21 Thread James B. Byrne
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. I have tried this: TARGET=ftp-pickup ftp . . . cd $TARGET This gives

Re: [CentOS] Using shell variables inside the ftp client

2011-07-21 Thread Always Learning
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

Re: [CentOS] Using shell variables inside the ftp client

2011-07-21 Thread John R Pierce
On 07/21/11 1:52 PM, Always Learning 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