Re: Using shell variables inside the ftp client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 configuration file on the remote server. There might be a
> block to stop you moving-out of your log-on FTP directory.

more likely, the ftp program is processing his command lines, and it 
doesn't know anything about $parameter substitution.

I suggest using wget or lftp or similar rather than conventional ftp.



-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux