HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp a HP/UX directory tree to NT
Operating System - HP-UX
1836617
Members
1933
Online
110102
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
10-29-2002 09:48 AM
10-29-2002 09:48 AM
ftp a HP/UX directory tree to NT
Can you ftp a directory and all underlying directories in a batch type process. The script would run daily the script needs to ftp all files and directories under on directory to a NT server from a HP/UX system. Files and directories could be added at any time.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 09:53 AM
10-29-2002 09:53 AM
Re: ftp a HP/UX directory tree to NT
One option is to use ftpcopy.
http://gatekeep.cs.utah.edu/hppd/hpux/Networking/FTP/ftpcopy-0.3.5/man.html
However, if this were me I would script this in Perl using the File::Find module in conjection with the Net::FTP module. The advantage of this method is that error checking is built-in and very easy to implement. If you use typical FTP scripts the question quickly becomes "How do you know everything worked?". Error checking in scripts is far from trivial but is ducksoup using Net::FTP. Yopu could even add code to retry a file up tp n times on a failure. If you search the Forums for "FTP" and "Perl" you should find many examples.
http://gatekeep.cs.utah.edu/hppd/hpux/Networking/FTP/ftpcopy-0.3.5/man.html
However, if this were me I would script this in Perl using the File::Find module in conjection with the Net::FTP module. The advantage of this method is that error checking is built-in and very easy to implement. If you use typical FTP scripts the question quickly becomes "How do you know everything worked?". Error checking in scripts is far from trivial but is ducksoup using Net::FTP. Yopu could even add code to retry a file up tp n times on a failure. If you search the Forums for "FTP" and "Perl" you should find many examples.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2002 12:00 PM
10-29-2002 12:00 PM
Re: ftp a HP/UX directory tree to NT
How about making a tarball out of the whole thing and then ftp'ing that? WinZIP handles tar files just fine for the NT side.
HTH,
Paul
HTH,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2002 02:05 AM
10-30-2002 02:05 AM
Re: ftp a HP/UX directory tree to NT
I would suggest you to tar the directory before using ftp.
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