- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Auto FTP job isn't working
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
Discussions
Discussions
Discussions
Forums
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
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
тАО11-12-2008 04:19 PM
тАО11-12-2008 04:19 PM
I'm using the below script to send a file and it stopped working after the host changed the password. The only thing that I can see changed is that the password is now 8 characters instead of 6. I can log in manually just fine. I get a login failed error when i try to use this script. Can anyone help me?
error=`ftp -n -i <
user name password
binary
put file1 file2
bye
EOF`
echo "The FTP to server returned the following: $error"
I've tried altering the script in many ways but no luck. I'm wondering if it's a problem with the recieving server. Thanks,
-Eric
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 04:27 PM
тАО11-12-2008 04:27 PM
Re: Auto FTP job isn't working
From your posting, I am going to assume that the password is written as part of the here-document, and hence that you changed it.
Make sure that the here-document's lines (including the EOF marker are flush left without leading whitespace.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2008 07:50 PM
тАО11-12-2008 07:50 PM
Re: Auto FTP job isn't working
After running the script its failed did you checked the source server's syslog.log what is there ?
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2008 02:20 PM
тАО11-13-2008 02:20 PM
Re: Auto FTP job isn't working
Error - incorrect permissions on /dev/tty.
User
-Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2008 03:25 PM
тАО11-13-2008 03:25 PM
Re: Auto FTP job isn't working
I guess I'm not sure how simply changing the password for an ftp server login would cause this to happen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2008 06:02 PM
тАО11-13-2008 06:02 PM
Re: Auto FTP job isn't working
> but it doesn't have a resolution.
Possibly because he never answered the obvious
question:
> Have you looked at the permissions on any of
> the /dev/
> them between the two systems?
> I guess I'm not sure how simply changing
> the password for an ftp server login would
> cause this to happen.
Nor I. Could be coincidental.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2008 10:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2008 06:38 AM
тАО11-14-2008 06:38 AM
Re: Auto FTP job isn't working
Might be a timing issue. If so, you might try "expect" as a solution, but you do have to download and compile it, and HP doesn't support it.
http://expect.nist.gov/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2008 09:35 AM
тАО11-17-2008 09:35 AM
Re: Auto FTP job isn't working
-Eric