TurnKey Linux Virtual Appliance Library

Unable to upload files through FTP.

Shweta K's picture

I am using Amazon EC2 services. I am trying to connect to the ftp server to upload files.

I am connect,login to the FTP server, even create dir on the remote path. But I cannot list the files on the remote path or upload files to the server. When I try to upload a files I get the error :

"Connection closed without indication" when I execute the app thru' an emulator.

"Connection timed out: connect" when I execute the app thru' an android device.

When I try to list the files in a dir I get the error:

"java.lang.NoClassDefFoundError: org/apache/oro/text/regex/MalformedPatternException"

Please help me.

ftp ec2

I think that an EC2 would not, out of the box, allow ftp. It almost certainly has no active ftp server running. This applies to a standard Amazon ec2 that I have rather than whatever the turnkey has. I think it is likely to be set up for SCP rathre than FTP.

Brian Lockwood
OSS enthusiast

Jeremy's picture

Use SFTP (port 22)

SFTP should work OOTB. I have used it with AWS no worries. I use Filezilla but have heard others happy with WinSCP (if using Windows, Filezilla cross platform).

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)