- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to FTP entire directories?
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-27-2003 08:50 AM
тАО11-27-2003 08:50 AM
How to FTP entire directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 08:54 AM
тАО11-27-2003 08:54 AM
Re: How to FTP entire directories?
initial thoughts would be to tar the dir and contents in an archive then get the tar file
The default message when trying to get a dir is
not a plain file
If you try mget it may traverse into the directory and give you the option of retrieving each file within the dir
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 08:59 AM
тАО11-27-2003 08:59 AM
Re: How to FTP entire directories?
http://hpux.connect.org.uk/hppd/hpux/Networking/FTP/ftpcopy-0.3.5/
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 09:43 AM
тАО11-27-2003 09:43 AM
Re: How to FTP entire directories?
You could use the "mget *" command in ftp.
Example:
ftp> cd /dir
ftp> prompt
ftp> mget *
This will ftp all files (but not directories) in the current directory. The "prompt" command turns off interactive mode so you are not prompted for each file transfer. The "mget *" transfers all files.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 09:48 AM
тАО11-27-2003 09:48 AM
Re: How to FTP entire directories?
I assumed that Joshua wants to ftp entire directory with sub directories. Does mget traverse thru sub-dirs???
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 10:13 AM
тАО11-27-2003 10:13 AM
Re: How to FTP entire directories?
You are correct, the standard ftp program on HP-UX cannot ftp directories. The mget will not traverse sub dirs.
The "mget" command is an option for Joshua if he only wanted to ftp a directories contents (excl sub dirs). As I said it will only ftp files not directories.
If you want to ftp directories and sub directories you'll need to install the package you suggested or use a tarball as Steven suggested.
Also most GUI based ftp programs can ftp directories (eg cute ftp).
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 10:26 AM
тАО11-27-2003 10:26 AM
Re: How to FTP entire directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 01:24 PM
тАО11-27-2003 01:24 PM
Re: How to FTP entire directories?
do a remote copy (rcp -rp )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 01:34 PM
тАО11-27-2003 01:34 PM
Re: How to FTP entire directories?
The easiest way to do this is to tar the directory into a file, then ftp the file.
For example:
# tar cvf {output file name} {directory name}
This will compact the whole directory into the file you name as output file name. Then you can ftp just that file.
When the file is received on the remote machine, the file will have to be un-tarred.
For example:
# tar xvf {file name}
Hope this information can help you.
Best Regards,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 02:00 PM
тАО11-27-2003 02:00 PM
Re: How to FTP entire directories?
http://gatekeep.cs.utah.edu/hppd/hpux/Networking/FTP/ncftp-3.1.4/
Good luck.
-Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 06:02 PM
тАО11-27-2003 06:02 PM
Re: How to FTP entire directories?
(it comes with both our HP-UX 11.0 and 10.20). It works just like Windows WS-FTP.
If you are NOT in X-Windows e.g using dump terminal, you can only "tar" the subdir and then "ftp" the tar file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2003 09:41 PM
тАО11-27-2003 09:41 PM
Re: How to FTP entire directories?
I have posted this some where else hence not typing it again ....
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2003 04:16 AM
тАО11-28-2003 04:16 AM
Re: How to FTP entire directories?
No points for this please ...
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2003 05:11 AM
тАО11-28-2003 05:11 AM
Re: How to FTP entire directories?
http://unix.about.com/cs/appsftp/
Look XFTP, it is useful ???
Regards
Bruno
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2003 05:50 AM
тАО11-28-2003 05:50 AM
Re: How to FTP entire directories?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2003 06:33 AM
тАО11-28-2003 06:33 AM
Re: How to FTP entire directories?
Thanks for the help rendered. I think the best way for me so far is to tar the directory and then ftp them. Thanks again everybody :)