- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- I need copy files by FTP with all the attributes
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
07-25-2002 09:52 AM
07-25-2002 09:52 AM
I need copy files by FTP with all the attributes
Thanks for help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 09:56 AM
07-25-2002 09:56 AM
Re: I need copy files by FTP with all the attributes
If you are using the /etc/ftpd/ftpaccess file, you can add an upload line for the user(s):
upload /home/dir /incoming yes
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 10:01 AM
07-25-2002 10:01 AM
Re: I need copy files by FTP with all the attributes
actually, you cannot not do that - at least not in general!
But is there a need for using "FTP", or could you go for "rsync"? THen you would be able to keep owner and permissions...
http://rsync.samba.org
Just my $0.02,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 10:07 AM
07-25-2002 10:07 AM
Re: I need copy files by FTP with all the attributes
Just for your information, I just tested my above post ... Worked like a charm!!!!!
changed my entry from 0660 to 0666 to perform my test.
Regards
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 10:30 AM
07-25-2002 10:30 AM
Re: I need copy files by FTP with all the attributes
There isn??t this file in my server. How can I get it?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 10:50 AM
07-25-2002 10:50 AM
Re: I need copy files by FTP with all the attributes
What about /etc/newconfig/etc/ftpd/ftpacess? This file is the template from which you can begin. Also, you can look at doc BC0814KBRC00007719
http://support2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=BC0814KBRC00007719&search.y=8&search.x=42&mode=id&admit=-1335382922+1027623218458+28353475&searchCrit=allwords
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 10:56 AM
07-25-2002 10:56 AM
Re: I need copy files by FTP with all the attributes
Ok.
And now, I resolve this defining users with FTP Access, but I need to make this users only stay in his home directory, this is disabled them the access to others directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 11:07 AM
07-25-2002 11:07 AM
Re: I need copy files by FTP with all the attributes
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000046112373
Check out the -u option with ftpd (man ftpd) to see if this will work for you on your system.
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2002 11:38 AM
07-25-2002 11:38 AM
Re: I need copy files by FTP with all the attributes
proftpd uses a different config file (and I prefer it but can't get it to run on HP-UX ).
chmod is supported by wu-ftpd and proftpd by config entry. (Default is off because it is unsafe).
umask command is supported by wu-ftpd and proftpd. If unconfigured the system default is used. (0022)
As another user said, rsync is a good alternative and even rcp supports a -p option for permissions. Best IMHO for this is OpenSSH scp which supports permissions as well as transfers in an encrypted tunnel. Anonymous ftp is not really pleasant for data transfers as it is in secure.
Regards,
Shannon