Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
If you'd like us to help, you have to provide details, and ask a clear question. You say you used "FTP Client"...but don't tell us which one. You don't say what FTP server software you're using, on what version/distro of Linux, either. And over what kind of network link? Without details, there's nothing we can tell you.
using commons-net-1.0.0.jar
Linux version: 2.6.18.3 for both machine. These are connected vie LAN.
Please let me know if you need more details...
You've not provided ANY of the details asked for, so yes, you need to still provide details.
You told us the KERNEL version...how about the version/distro (like CentOS 6.3, or Ubuntu 10.04??)
What FTP server software are you using?
What FTP Client are you using?
'Connected via LAN' tells us nothing: are they on the same subnet? Different? Firewall(s) in place on either? ANYTHING? Can you ping/SSH between the two boxes?
You give a .jar file name above, but don't tell us where you got it, or how its being used exactly. You also don't tell us (assuming this is a web-based FTP), what information (if any), you see in the Apache log files/error log files/FTP logs on either side.
Do an experiment: go to a command-line on the Linux system that's sending the file, and type in "ftp <ip address of OTHER Linux server>". Log in, change your sending mode to binary by typing in "binary" at the prompt, then "put /path/to/filename.tar.gz", and see if it works. If so, then you've ruled out the network, firewalls, and FTP server, and the error(s) are on your web page.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.