- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file transfer
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
Forums
Discussions
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
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
09-25-2006 03:22 AM
09-25-2006 03:22 AM
I have been using ftp (auto login ) successfully in my box to transfer file to another box. But some how when i use ftp in startup script the auto login is failed .Any idea?
Appreciate it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 03:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 03:27 AM
09-25-2006 03:27 AM
Re: file transfer
Could be that the network services aren't fully initialized yet when your script runs if you're doing it on boot. What error is it giving?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 03:28 AM
09-25-2006 03:28 AM
Re: file transfer
Startup scripts have no envirnment other than what you set.
in the startup script right before your failed line:
env > /tmp/startup.env.txt
from a regular command line:
env /tmp/regular.env.txt
diff /tmp/regular.env.txt /tmp/startup.env.txt
You will now see what environment may be needed to make your command work. Note that it probably has something to do with the PATH variable.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 03:33 AM
09-25-2006 03:33 AM
Re: file transfer
In the script, make sure you are using the absolute path to every binary. For example, '/usr/bin/ftp' instead of 'ftp'.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 04:30 AM
09-25-2006 04:30 AM
Re: file transfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 04:36 AM
09-25-2006 04:36 AM
Re: file transfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 08:55 AM
09-25-2006 08:55 AM
Re: file transfer
Regards,
-dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2006 10:17 AM
09-25-2006 10:17 AM
Re: file transfer
machine xxxx login yyyy password zzzz
The keywords (machine login password) must be spelled correctly. But most important, the .netrc file must:
1. in your $HOME directory
2. Owned by your userID
3. Permissions MUST be 600 or 400.
And rather than test using your script, just use the ftp command by itself. When the file is working correctly, ftp
Bill Hassell, sysadmin