Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey all,
I hope you can help me, I can't figure out why my proftpd isn't working with some client software, (called shooting star) It works for many other sites so, I'm pretty sure it is my problem not the software. I've went thought the FAQ, Man's, google searches (vast amounts) well here is the skinny
The client is stalling after the STOR command is executed. I think the transfer complete is not getting to the client? I'm not sure and am running out of ideas. WS FTP, linux ftp, window shell ftp all work fine.
here is what the debug is reading -d5:
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - CURRENT-CLIENTS
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - USER mbernat: Login successful.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'CWD www' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'CWD www' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): path = '/home/mbernat/www', fullpath =
'/home/mbernat/www'.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'ALLO 203' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'ALLO 203' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'TYPE I' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'TYPE I' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'PASV' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'PASV' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - Entering Passive Mode (66,64,18,6,4,5).
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'STOR ss257091.jpg' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'STOR ss257091.jpg' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): path = '/home/mbernat/www/ss257091.jpg'
, fullpath = '/home/mbernat/www/ss257091.jpg'.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): setting umask to 0755 (was 0374)
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'STOR ss257091.jpg' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - Transfer completed: 16384 bytes in 432.19 seconds.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'QUIT' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'QUIT' to mod_log
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'QUIT' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - FTP session closed.[COLOR=deeppink]
Distribution: Whatever I feel like at the time I install.
Posts: 284
Rep:
Simple thing you may have tried, but did you try using passive mode. If the ftp site is behind a firewall then many times it requires passive mode logins.
passive and port mode was attempted unforunately came up with the same problem. Program doesn't download, just uploads and deletes(for posting web pages) I'm pretty new at System Admin, even though I have been a linux end user for quite some time. I thought maybe I compliled it not enabling something I should. I recompiled it, enabling PAM and Autoshadow. Does installing the RPM do something that I am not?
I shutdown iptables with iptables -F .....no joy I wish the user could just upload using another client program but then he would have to personally manage up to a 1000 pictures. So that is not an option. I'll be dammed if my boss gets frustratued enough to go with something to use micro$oft.
Maybe I'm just confused but you said it can just delete and upload but downloading doesn't work. Then how come it gets stuck on the STOR command. STOR is used when the client wants to store a file on the server. Which would mean uploading to the server.
Anyways since it's getting stuck on the STOR command then you should really be checking the write permissions. Make sure the user who is logged in has permission to write to that directory.
And if it's for anonymous users you might want to add something like:
<Directory uploaddir/>
<Limit READ STOR CWD>
AllowAll
</Limit>
</Directory>
What I was meaning, the client software uploads and reads the directory, client software doesn't download stuff from the server. I'm sorry I should have made this more clear. Second, The STOR command works and is uploading the file, the client isn't notice that the file is finished (I think it is a parsing problem with the client software) Anyways I found out that the Client Software was built with visual basic and the ftp modules were from Mabry.com. The file is uploading fine, but the operations times out instead of exiting cleanly. Thank you both for timely responses. I'm hope someone in this newsgroup can spark a little flame in my head, cuz the fire is burning out.
This site will not support anonymous users.
Jason
Last edited by jester13rok; 03-20-2002 at 04:18 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.