- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How transfer direcory using FTP ( and all file...
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
08-30-2006 06:11 PM
08-30-2006 06:11 PM
How transfer direcory using FTP ( and all files inside it )
I have an question. How transfer direcory using FTP ( and all files inside it )
ftp ???
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 06:34 PM
08-30-2006 06:34 PM
Re: How transfer direcory using FTP ( and all files inside it )
I'd suggest gftp.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 07:27 PM
08-30-2006 07:27 PM
Re: How transfer direcory using FTP ( and all files inside it )
I used script, and that script should transfer all files using ftp to windows machine. Script will start at 2:00 using cron deamon. So how do it using script?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 08:40 PM
08-30-2006 08:40 PM
Re: How transfer direcory using FTP ( and all files inside it )
It comes with examples how to achieve what you want.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 09:24 PM
08-30-2006 09:24 PM
Re: How transfer direcory using FTP ( and all files inside it )
I can transfer one file but I do not know how to transfer a directory and all files inside it.
Thanks for help
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 10:44 PM
08-30-2006 10:44 PM
Re: How transfer direcory using FTP ( and all files inside it )
within the classical ftp command line you can use "prompt no" to prohibit ftp asking you to permit a file when using wildcards. wildcards you are permitted to use when using the "mget" command within ftp. This should apply to the very basic ftp command.
Regards
frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 10:52 PM
08-30-2006 10:52 PM
Re: How transfer direcory using FTP ( and all files inside it )
Not sure if that is possible but you can tar the directory and then send it across.
If using a script 1st do tar
2nd do ftp
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2006 11:38 PM
08-30-2006 11:38 PM
Re: How transfer direcory using FTP ( and all files inside it )
I can transfer a directory using GUI gftp, but how do the same using bash shell?
Which commands I must enter in order to make it works?
Anyway thank you very much for your comments.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 11:19 AM
08-31-2006 11:19 AM
Re: How transfer direcory using FTP ( and all files inside it )
Ubfortunately there is no other means to use it efficiently rather then reading the docs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 12:14 PM
08-31-2006 12:14 PM
Re: How transfer direcory using FTP ( and all files inside it )
You would almost have to pre pass your directory if you only used the basic ftp utility.
(i.e. Get your bash shell to generate an ftp script, including the mkdir commands for ftp, then you would run that script which would include opening ftp server placing username and password if any).
However said tar is probably easier, tar -cvfz /tmp/temp.tar /directory then using ftp - this way you can have ownership, permissions and even soft/hard links if you choose.
Of course "rsync" is probably a better option it can be linked to use SSH (which is better way of doing file transfers - more secure, but thats another story). It will keep two systems directories in sync with each other and is just a command line which can be fed into cron.
Robert.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 12:42 PM
08-31-2006 12:42 PM
Re: How transfer direcory using FTP ( and all files inside it )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 09:58 PM
08-31-2006 09:58 PM
Re: How transfer direcory using FTP ( and all files inside it )
I made it transfer file by file, and put them in directory at destination. It works for now.
Unfortunately I cannot change anything on server maachine ( it is SYNIX Siemens, high risk machine, and I have no root rights for that). Thank you very much for comments.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 09:59 PM
08-31-2006 09:59 PM