Hi,
add a trailing slash to the ftp upload url, think that is what the strategy
is looking for to determine a working directory in the ftp server.
jndiParameters.put(Context.PROVIDER_URL,
"tcp://localhost:61616?jms.blobTransferPolicy.uploadUrl=ftp://user:p...@myhost
/");
You are right, thx!
add a trailing slash to the ftp upload url, think that is what the strategy
is looking for to determine a working directory in the ftp server.
jndiParameters.put(Context.PROVIDER_URL,
"tcp://localhost:61616?jms.blobTransferPolicy.uploadUrl=ftp://user:p...@myhost
/");
On 16 March 2010 08:00, joe
Hi,
I am trying to send a file via BlobMessage, but it doesn't work.
Whats wrong with the code?
- ActiveMQ 5.3.0
- commons-net-ftp-2.0
package de.test.jmsproducer;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.Properties;
import javax.jms.Connection;