HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp from unix to windows 2000 server
Operating System - HP-UX
1832964
Members
2729
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-09-2003 10:50 AM
04-09-2003 10:50 AM
ftp from unix to windows 2000 server
I have a script that has the following syntax
to ftp a file from a unix box to a windows server using a local user on the windows box
ftp -n serverwinx < user docm1 Passwdx
cd /tmp
put triggerfile
endFTP
We need to change the user to a domain acct user which would be nacorp\docm1
When I change that in the above script it will not work,
However if you do an interactive ftp it works like this for example
ftp serverwinx
naipaper\docm1 Passwdx
cd /tmp
put triggerfile
This works fine from the commandline, but you can't use in a script like this due to it asking you for user and password.
Are there any other options other than -n I may need to use .
Reason for this is they are doing away with the local accounts and making all use the domain accounts.
HELP
Thanks
to ftp a file from a unix box to a windows server using a local user on the windows box
ftp -n serverwinx <
cd /tmp
put triggerfile
endFTP
We need to change the user to a domain acct user which would be nacorp\docm1
When I change that in the above script it will not work,
However if you do an interactive ftp it works like this for example
ftp serverwinx
naipaper\docm1 Passwdx
cd /tmp
put triggerfile
This works fine from the commandline, but you can't use in a script like this due to it asking you for user and password.
Are there any other options other than -n I may need to use .
Reason for this is they are doing away with the local accounts and making all use the domain accounts.
HELP
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 11:05 AM
04-09-2003 11:05 AM
Re: ftp from unix to windows 2000 server
In your script, try changing the "\" in the username to "\\". The shell interprets the \ as a special character marker. It's omitted when a special character is not there.
Not guaranteed to work, but it may.
Regards,
Shannon
Not guaranteed to work, but it may.
Regards,
Shannon
Microsoft. When do you want a virus today?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2003 12:01 PM
04-09-2003 12:01 PM
Re: ftp from unix to windows 2000 server
Mike -
I would follow along with the previous post -
Suggestion #2
'naipaper\docm1'
or
export logname="naipaper\docm1"
ftp -n etc,etc
user '$logname' Passwdx
etc
etc
Best of luck.
dl
I would follow along with the previous post -
Suggestion #2
'naipaper\docm1'
or
export logname="naipaper\docm1"
ftp -n etc,etc
user '$logname' Passwdx
etc
etc
Best of luck.
dl
"I'm not dumb. I just have a command of thoroughly useless information."
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP