Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

royayala

Posts

7

Joined

Tue Sep 09, 2008 7:40 am

Location

San Diego, California

How to use a different cipher

by royayala » Fri Jul 22, 2011 5:49 am

I am looking for a Java example of how to use a different cipher. I have tried the following but I keep getting an error. Is there something wrong with my syntax?


ftp.enableCipherSuite(SSLFTPCipherSuite.TLS_RSA_WITH_RC4_128_SHA);

The error I get is
INFO [com.egateway.MF.V38.wmPush2MF_v38] 21 Jul 2011 12:46:10.280 : This is an info message
CLIENT KEY FILENAME EDIXFTP_SD.pem
java.lang.NullPointerException
at com.egateway.MF.V38.wmPush2MF_v38.main(wmPush2MF_v38.java:70)
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Mon Jul 25, 2011 1:23 pm

That stack-trace indicates that the error is in the main method of the class called com.egateway.MF.V38.wmPush2MF_v38. What makes you think that it originates in our code?

- Hans (EnterpriseDT)
no avatar
User

royayala

Posts

7

Joined

Tue Sep 09, 2008 7:40 am

Location

San Diego, California

Just trying to get some direction on the proper syntax

by royayala » Tue Jul 26, 2011 6:58 am

Hi Han,

Thank you for the reply. I am just trying to get clarifiation on the correct syntax. We are currently a customer and are evaluting an update to the most recent version. If we can solve a slow FTPs file transfer problem we would purchase new support and upgrades. Is there any example of how to use to change or enable the cipher. We are not a java shop and the documentation is not clear for us.

Roy
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

Re: Just trying to get some direction on the proper syntax

by EDT Support » Tue Jul 26, 2011 10:10 am


Who is online

Users browsing this forum: No registered users and 92 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron