- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP script 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
06-23-2005 07:24 AM
06-23-2005 07:24 AM
FTP script from Unix to Windows.
I need to write a script on Unix that ftp's files from a Windows server and deletes the files on the Windows server. How can I accomplish that? Also I want to check whether the files were ftp'ed correctly before I delete them from the windows server. Currently I am using the below script to transfer the files from the Windows server.
ftp -nv
user
bin
mget *
quit
EOF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 07:37 AM
06-23-2005 07:37 AM
Re: FTP script from Unix to Windows.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 12:34 PM
06-23-2005 12:34 PM
Re: FTP script from Unix to Windows.
Devesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 01:17 PM
06-23-2005 01:17 PM
Re: FTP script from Unix to Windows.
You can configure samba on Unix server and then you can map unix fileystems on windows. Then a scheduler can be created on windows for coping the files. But security is a concern here.
secondly,
you can have a batch file on windows whcih will use windows ftp. e.g ftp -s:filename
where in filename you can specify the ftp commands.
Cheers!!!
eknath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2005 07:13 PM
06-23-2005 07:13 PM
Re: FTP script from Unix to Windows.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=887303