473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Using Jakarta commons-net - STREAM_TRANSFER_MODE

Three years ago, I created a very simple FTP utility for a project. The
main purpose was to upload and download files between two systems. At the
time, I figured it would not be used for very long, but as you can see it is
still there. The problem I am experiencing now, is that the utility is
expected to upload thousands of files at one time. For awhile, the process
was keeping up, but it would seem that there is a problem, now.

I contacted my network group and they claim that my FTP utility is the
issue. I find it hard to believe that the code is the issue when it can
upload more files to one system MUCH faster than to the other system.
However, my problem is that I am unable to determine how "tweak" the code to
make it more efficient with how it is uploading. I found in the Jakarta
JavaDocs the definition for STREAM_TRANSFER_MODE and it is defined to upload
10 bytes at a time. I was wondering if there was a way to tune that. I
could be going way off base here, but it was only a consideration.

Thanks!

Aug 11 '06 #1
0 2576

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jon Dellaria | last post by:
I have been using MySql as the database using JSP's and JavaBeans but recently I have wanted to start using the database connection pooling mechanism built into TomCat. I think I am having a...
0
by: Phil Powell | last post by:
Ok, I installed ANT, I have c:\ant in my ANT_HOME environment variable, I have c:\ant\bin in my PATH environmental variable, I installed the JAR files for TCL and for Javascript (Rhino)... to no...
0
by: Gary Smart | last post by:
Hello. I've been searching news groups and apache and google, but can't solve this one: I have an XML file used to create menu items in a Swing UI. I have a <menu> element that can have an...
0
by: david | last post by:
I'm was planning on evaluating the use of bzip compression (instead of the default java compression algorithms) for purposes of storage in a database. So I grabbed the bzip libraries...
3
by: Ron Brennan | last post by:
Good morning. I would like to allow a user to browse his local file system, choose an image (probably .jpeg) file, and upload it to the server (using a servlet) - the same functionality that...
5
by: Alex Mathieu | last post by:
Hi, using sscanf, I'm trying to retrieve something, but nothing seems to work. Here's the pattern: SS%*sþ0þ%6s Heres the data: SS000000395000000000DC-þ0þ799829þ1174503725þ Actually, I...
0
by: Manasi12 | last post by:
Hi, I am trying to load number of jar files. But while giving load java command I am getting a bunch of errors for the jar files. I am using oracle 9i. The jar files are...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
2
by: PaulCarmo | last post by:
Hello, I'm validating a form containing various types of data. One of the fields to be validated is an amount which must be between 0.01 and 999999.99. The code for this field validation in the...
1
by: newkhan | last post by:
Hi, I am confuse in starting of jsp. I want to know that for web applications whether Jakarta Tomcat or Apachi Tomcat should be used and also what version should be used. Thanx
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.