- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need help regarding FTP Implementation.
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
12-22-2001 02:35 AM
12-22-2001 02:35 AM
Need help regarding FTP Implementation.
I have a group of 6 people who are suppose to explore on networking concepts on unix.
As part of it we thought of developing a small FTP component. We have gone through the RFC 957 document and have a fair bit of idea on it. Can anybody let me know how to proceed on this further. Also need direction to the right references or documents, URLs. We would like to have look at the source code if available.
Thanks in advance.
Umesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2001 06:50 AM
12-22-2001 06:50 AM
Re: Need help regarding FTP Implementation.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2001 08:43 AM
12-22-2001 08:43 AM
Re: Need help regarding FTP Implementation.
For RedHat, you can download the source file packages by downloading the RPMs residing in the SRPMS subdirectory under the redhat parent directory via ftp.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2001 10:00 AM
12-22-2001 10:00 AM
Re: Need help regarding FTP Implementation.
Also UNIX Network Programming by W Richard Stevens will also help a lot in understanding the TCP/IP layer on the unix.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2001 12:26 PM
12-22-2001 12:26 PM
Re: Need help regarding FTP Implementation.
A5651654
NR0801KBRC00007714
Simple, straight forward.
Even a dummy like me could follow this.
dl
(search by document)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 05:24 AM
01-09-2002 05:24 AM
Re: Need help regarding FTP Implementation.
I was not able to access these two documents.
A5651654
NR0801KBRC00007714
Let me know if I need to have additional permissions for accessing these documents.
regards,
Umesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 06:27 AM
01-09-2002 06:27 AM
Re: Need help regarding FTP Implementation.
copy pwd from /usr/bin/pwd
copy ls from /sbin/ls.
********
NOW FOR WHAT MOST FOLKS FORGET ! - NOT EVERYONE HAS ACCESS TO TECHNICAL DOCUMENTS !
*** SO CUT & PASTE DOCUMENTS INTO YOUR COMMENTS - LINKS TO US-SUPPORT ARE WORTHLESS FOR EUROPEAN USERS AND ANYBODY WHO HAS NOT PAID FOR THIS SERVE ***
I'll paste both Doc ID's below for you so this post is not so long..
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 06:29 AM
01-09-2002 06:29 AM
Re: Need help regarding FTP Implementation.
Date
: 2001 Aug 14
Description
: Attempting to delete a file within ftp gives permission denied
Document Id
: NR0801KBRC00007714
PROBLEM
After implementing restricted ftp sessions using document A5651654, the
restrictons work correctly but delete command gives permission denied.
Example:
$ ftp
ftp> open usap
Connected to usap
220 usap FTP server (Version 1.1.214.7 Thu Aug 10 09:57:38 GMT 2000) ready.
Name (usap:root): ftp022
331 Password required for ftp022.
Password:
230 User ftp022 logged in. Access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> asc
200 Type set to A.
ftp> put testfile
200 PORT command successful.
150 Opening ASCII mode data connection for testfile.
226 Transfer complete.
16 bytes sent in 0.00 seconds (23.78 Kbytes/s)
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
total 6
-rwxrwxrwx 1 113 102 315 Jul 18 08:39 ap1trial.txt
-rw-rw-rw- 1 113 102 15 Aug 14 08:41 testfile
-rwxrwxrwx 1 113 102 315 Jul 18 08:25 exampleonly.txt
drwxrwxrwx 2 113 102 96 Jul 24 13:33 history
dr-xr-xr-x 3 113 102 96 Jul 31 09:18 usr
226 Transfer complete.
ftp> delete testfile
553 testfile: Permission denied. (Delete)
ftp>
RESOLUTION
Edit the /etc/ftpd/ftpaccess file
search for the line that starts with 'delete'
The line should look like:
delete no guest,anonymous # delete permission?
change the word no to yes
delete yes guest,anonymous # delete permission?
Permissions can be altererd in a similar method for the following operations:
- overwrite
- rename
- chmod
- umask
For more information on ftp and configuration options see the
Installing and Administering Internet Services Manual
HP Part Number: B2355-90685 available at www.docs.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 06:30 AM
01-09-2002 06:30 AM
Re: Need help regarding FTP Implementation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 06:46 AM
01-09-2002 06:46 AM
Re: Need help regarding FTP Implementation.
One source of ftp source code is available from http://www.freebsd.org. Another source set to examine is perl especially the Net::Ftd module source. It has almost every feature covered including error checking. You can get the source for this at http://www.perl.org/CPAN.
As part of your learning execise, you might even consider using Perl rather than C in that, believe it or not, you have nearly the power of C with a fraction of the development time. Moreover, because the perl calls are so similar to the underlying C functions/system calls, the knowledge transfers very well.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 07:23 AM
01-09-2002 07:23 AM
Re: Need help regarding FTP Implementation.
ftp://ftp.uu.net/pub/OS/bsd-sources/usr.bin/ftp/
Server source is available from
http://www.wu-ftpd.org