- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp from UNIX to windows
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
01-23-2004 07:49 AM
01-23-2004 07:49 AM
Thanks
Marcin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 07:55 AM
01-23-2004 07:55 AM
Re: ftp from UNIX to windows
You probably will need an ftp service running on your Windows box so that the Unix box can ftp to it.
Another way to do it would be to setup Samba and map the directory containing the file as a share to the Windows box. Then, you wouldn't even have to move the file.
My preferred way to do it would be to replace the Windows box with a Linux box, but that solution may be too far out of the box for you.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2004 08:23 AM
01-23-2004 08:23 AM
Re: ftp from UNIX to windows
You need to install the ftp service on windows. The server is not installed by default.
It can be added from the OS install cd.
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
01-24-2004 01:47 AM
01-24-2004 01:47 AM
Re: ftp from UNIX to windows
have you tried manually to ftp a file to the windows machine? Then you will see, whether there is someone to handle the request. The other thing is to schedule the ftp script on unix, which can be done by at or crontab.
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 05:26 AM
01-26-2004 05:26 AM
Re: ftp from UNIX to windows
http://www.jgaa.com/index.php?menu=154
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 06:58 AM
01-26-2004 06:58 AM
Re: ftp from UNIX to windows
http://www.microsoft.com/windows/sfu/downloads/default.asp
In the features list they say it has an NFS service in it. The you can copy file using a NFS filesystem on windws box.
Regards,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2004 07:24 AM
01-26-2004 07:24 AM
Re: ftp from UNIX to windows
FTP isn't secure, Microsoft sets the standard in insecure already.
If this is a limited in house server, you might want to go with a Secure FTP server. Why do you want to transmit passwords across your network in clear text?
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
01-26-2004 09:30 PM
01-26-2004 09:30 PM
Re: ftp from UNIX to windows
CIFS client could be a useful tool for you. It enables you to map a shared drive from your Windows box to your HP-UX box.
http://docs.hp.com has documentation, the actual product can be downloaded from http://software.hp.com
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 03:48 AM
01-27-2004 03:48 AM
Re: ftp from UNIX to windows
Updating the patch level on the Windows host solved the problem. What specific level, I don't recall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2004 04:20 AM
01-27-2004 04:20 AM
Re: ftp from UNIX to windows
are you still with us?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 12:08 AM
01-28-2004 12:08 AM
Re: ftp from UNIX to windows
Thanks for help
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 01:38 AM
01-28-2004 01:38 AM
Re: ftp from UNIX to windows
( I've heard that the Unix compatabilty featers for Windows are now free from MSoft as well, but 'free' was what moved us to CIFS / Samba.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 01:49 AM
01-28-2004 01:49 AM
Re: ftp from UNIX to windows
in that case you may want to consider doing the ftp on the SQL Server. An ftp client should exist and you can programme it for a certain time.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:05 AM
01-28-2004 02:05 AM
Re: ftp from UNIX to windows
you could use a here document in your script. These are documented in the shell's man page I believe. This would allow you to have the username and password within the script file, but you still need to have a ftp server on the Windows box.
Here's an example you could modify:
user
bin
cd whatever
put somefile
quit
EOD
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:22 AM
01-28-2004 02:22 AM
Re: ftp from UNIX to windows
You can turn the world around and not even need an ftp server on the Windows side if you use one of the freely available Perl's for Windows. http://www.activestate.com/Products/Language_Distributions/
Well written Perl code would run without changes either on a UNIX or Windows host.
ftpput.pl file1 file2
STAT=${?}
would send file1 and file2 to /tmp in ASCII mode on host "remotehost" as written but you can easily adapt it to fit your needs. It will automatically attempt 5 retries before giving up. Moreover, if ${STAT} = 0 then you know all is well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:35 AM
01-28-2004 02:35 AM
Re: ftp from UNIX to windows
This is what I was looking for, I try script you send me and it is working. Only problem I have is I try to change dir on windown box from unix, do not let me change dir or I do not know how, it asked me (remode-directory)
then I try all options like \\ip\dir or // or / I am getting not file found. any idea how to do it
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:44 AM
01-28-2004 02:44 AM
SolutionThere must be a ftp server configured on your Windows box then...
As A. Clay wisely pointed out, there is no error checking in this script so you should be aware that it may appear to complete but may not have performed exactly as you expected.
Before you run this script you should try manually ftp'ing to the Windows box and using cd to move around. It's possible that you may need to specify the drive letter - I have no Windows boxes with ftp enabled so cannot be sure.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:47 AM
01-28-2004 02:47 AM
Re: ftp from UNIX to windows
thanks a lot
Marcin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 02:48 AM
01-28-2004 02:48 AM
Re: ftp from UNIX to windows
cd /dir/subdir
You can also use 'dir' to see what files and directories are the directory you are currently in.