Hi!
This is how I fixed uploading big files in Cargo. Perhaps this is what
you are looking for.
// When trying to upload large amount of data the internal
connection buffer can become
// too large and exceed the heap size, leading to a
java.lang.OutOfMemoryError.
Hi, Thank you so much for your help!!!
Turns out we are running JDK 1.4 not good enought to use the
setChunkedStreamingMode method, but I was able to fix the issue by increasing
the JVM heap size to 512 MB. Not sure what kind of risks I may be introducing
by allocating more memory
Hi,
I was given a task to replace an existing application which uses FTPClient
to send a file from one server to another one. The main reason for
replacemtn
is because we want to close the port that is currently use by that ftp. In
the future only port 80 will be opened. It means, I need to
Assuming you're leaving open the SSH port (22) You might want to try using
SFTP instead. It's more secure than FTP.
If you want to access it programmatically, you can do that using Apache
Commons VFS. There are also some VFS Ant tasks that you can use to manage
your files.
Hope this helps,
Hi!
The current application is not only to ftp a file, but it creates dir and
subdir on the destination server. How can I achieve that using http
protocol ? Is this a good idea using http ? Or any a better one ?
Not sure if HTTP only is able to do all this, nor if there is a
library which
Hi,
I was given a task to replace an existing application which uses FTPClient
to send a file from one server to another one. The main reason for replacemtn
is because we want to close the port that is currently use by that ftp. In
the future only port 80 will be opened. It means, I need to
I have a property file with an entry
INCA_BASE_DIR = C:\\Test1
And another property file which has
include=base.properties
OUTPUT_DIR=${INCA_BASE_DIR}\\DERIVED
If I use the following code then the property does not get substituted:
Configuration config = new PropertiesConfiguration(dprops);