Operating System - HP-UX
1833596 Members
3375 Online
110061 Solutions
New Discussion

How to use Host variables in FTP

 
Ezhilarasan
Occasional Advisor

How to use Host variables in FTP

Hi,

I want to use host variables in ftp prompt.
eg, ftp> cd $HOME or any variables defined
in .profile.

Thanks
R. Ezhil

1 REPLY 1
John Poff
Honored Contributor

Re: How to use Host variables in FTP

Hi,

Your .profile on the remote machine doesn't get executed in an ftp session. You could assign some variables on the local end and use them in a script.

JP