- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp and usage of remote environment variable
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 02:28 AM
06-20-2003 02:28 AM
ftp and usage of remote environment variable
I'd like to ftp to a remote server.
The remote server contains, for the user that logs in via the ftp session, an environment variable pointing to a path : $MYPATH .
In the ftp session (ftp script), I try to do :
ftp> cd $MYPATH/rest_of_path
That doesn't work :
550 $COHESION_PATH: No such file or directory.
Does anyone know how to solve this (without the use of perl) ?
Thanks in advance
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:53 AM
06-20-2003 05:53 AM
Re: ftp and usage of remote environment variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:58 AM
06-20-2003 05:58 AM
Re: ftp and usage of remote environment variable
This is my particular hobby horse: but ftp does not script easily, and it is hardly secure. You're much better off in the long run to install and use secure shell (which includes secure copy). Secure copy scripts much more readily, and it is of course much more secure.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:58 AM
06-20-2003 05:58 AM
Re: ftp and usage of remote environment variable
This is my particular hobby horse: but ftp does not script easily, and it is hardly secure. You're much better off in the long run to install and use secure shell (which includes secure copy). Secure copy scripts much more readily, and it is of course much more secure.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:58 AM
06-20-2003 05:58 AM
Re: ftp and usage of remote environment variable
This is my particular hobby horse: but ftp does not script easily, and it is hardly secure. You're much better off in the long run to install and use secure shell (which includes secure copy). Secure copy scripts much more readily, and it is of course much more secure.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 05:58 AM
06-20-2003 05:58 AM
Re: ftp and usage of remote environment variable
This is my particular hobby horse: but ftp does not script easily, and it is hardly secure. You're much better off in the long run to install and use secure shell (which includes secure copy). Secure copy scripts much more readily, and it is of course much more secure.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 06:01 AM
06-20-2003 06:01 AM
Re: ftp and usage of remote environment variable
It may not be workable, but,....
Why not run the FTP Script from the other host? (ie the host that has the variable defined on it)
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 12:23 AM
06-23-2003 12:23 AM
Re: ftp and usage of remote environment variable
Now I realise I have to work out another solution.
Franky