- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving folders and files in it to diff server thro...
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
02-11-2008 09:30 PM
02-11-2008 09:30 PM
moving folders and files in it to diff server thro ftp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2008 10:01 PM
02-11-2008 10:01 PM
Re: moving folders and files in it to diff server thro ftp?
The best way is probably to use "tar" or
"pax" or Zip, or something similar, to bundle
everything into one (compressed) package,
then transfer that, and finally unpack it at
the other end.
If you have only FTP access, and you're
fetching things, then something like wget can
do recursive FTP fetch operations.
http://www.gnu.org/software/wget/wget.html
If you have only FTP access, and you're
sending things to the server, then you'll
need to wait for better suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2008 11:50 PM
02-11-2008 11:50 PM
Re: moving folders and files in it to diff server thro ftp?
You can use mput to send files.
It will skip directories with an error:
XXX: not a plain file.
If you can't use Steven's suggestion of tar,
you'll need to create a script to generate ftp input. Combinations of mput, mkdir, lcd and cd to walk the directory subtree.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 04:10 AM
02-12-2008 04:10 AM
Re: moving folders and files in it to diff server thro ftp?
There is also a program called wput, at which
I looked long ago, which was intended to work
like wget backward. (VMS has COPY /FTP, so I
never used wput much.)
http://sourceforge.net/projects/wput/
It may be good or not. I don't know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 03:41 PM
02-12-2008 03:41 PM
Re: moving folders and files in it to diff server thro ftp?
In that case, tar is a good weapon of choice as it will maintain and recreate directory structures.
Rememeber, in unix, there are no folders, only files. The tar command will rebuild the structure as you expect.
Once you have the tar file, FTP "put" it in BINARY mode to the receiving machine or, from the receiving machine, ftp to the host machine and "get" the file in BINARY mode.
Regards,
-dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 03:55 PM
02-12-2008 03:55 PM
Re: moving folders and files in it to diff server thro ftp?
Perhaps _you_ can only assume that. _I_ can
assume anything I wish. Or not.
> [...] in unix, there are no folders, only
> files. [...]
Don't you get saddle sores from riding that
old hobby-horse? When someone says "folder",
perhaps you could translate it (internally)
to "directory". Or do you claim that UNIX
doesn't have directories, either? (If so,
you should start complaining about the "man"
pages, not about some poor fellow's use of a
perfectly clear and meaningful term.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 09:49 PM
02-12-2008 09:49 PM
Re: moving folders and files in it to diff server thro ftp?
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2008 10:01 PM
02-12-2008 10:01 PM
Re: moving folders and files in it to diff server thro ftp?
There's a difference between "I don't know
how to" and "You can not".
If it's possible to transfer one file, then
it's possible to transfer all the files.
More than one FTP command may be needed, but
that's a long way from "you can not". (Well,
perhaps _you_ can not, but that's a long way
from "_I_ can not" or "anyone else can not".)