Operating System - HP-UX
1836462 Members
2105 Online
110101 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