Trying to get List via FTPS results in a 550 code.

9 messages Options
Embed this post
Permalink
giladgaron

Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Hello,

I'm trying to use commons-net ftps to access a remote FTP via TLS.
I can connect and login to the server, but when I'm trying to send a LIST command, I get a 550 error.

Code:
ftpsClient = new FTPSClient();
ftpsClient.connect("IP", "2100");
ftpsClient.login("USER_NAME, "PASSWORD");
ftpsClient.list();

Any ideas?
Thanks.
Steve Cole-6

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Verify USER_NAME has permission to get a list from the default directory.

----- Original Message -----
From: "giladgaron" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, October 01, 2009 5:25 AM
Subject: Trying to get List via FTPS results in a 550 code.


>
> Hello,
>
> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> I can connect and login to the server, but when I'm trying to send a LIST
> command, I get a 550 error.
>
> Code:
> ftpsClient = new FTPSClient();
> ftpsClient.connect("IP", "2100");
> ftpsClient.login("USER_NAME, "PASSWORD");
> ftpsClient.list();
>
> Any ideas?
> Thanks.
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

giladgaron

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
All the user settings are in order, I've double checked it.
I can connect, get a list and upload files to the remote FTPS site via a desktop FTP client and another java library called EDT FTP Pro.
I just can't seem to get it to work with the commons-net library.


Steve Cole-6 wrote:
Verify USER_NAME has permission to get a list from the default directory.

----- Original Message -----
From: "giladgaron" <giladgaron@gmail.com>
To: <user@commons.apache.org>
Sent: Thursday, October 01, 2009 5:25 AM
Subject: Trying to get List via FTPS results in a 550 code.


>
> Hello,
>
> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> I can connect and login to the server, but when I'm trying to send a LIST
> command, I get a 550 error.
>
> Code:
> ftpsClient = new FTPSClient();
> ftpsClient.connect("IP", "2100");
> ftpsClient.login("USER_NAME, "PASSWORD");
> ftpsClient.list();
>
> Any ideas?
> Thanks.
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Steve Cole-6

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
A 550 is file not available, not found or not accessible. Are you able to
get a directory list from USER_NAME's home directory using the other FTPS
clients? Try changing the working directory, to one that's worked with the
other clients, before the list command.

----- Original Message -----
From: "giladgaron" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, October 01, 2009 5:46 PM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> All the user settings are in order, I've double checked it.
> I can connect, get a list and upload files to the remote FTPS site via a
> desktop FTP client and another java library called EDT FTP Pro.
> I just can't seem to get it to work with the commons-net library.
>
>
>
> Steve Cole-6 wrote:
> >
> > Verify USER_NAME has permission to get a list from the default
directory.

> >
> > ----- Original Message -----
> > From: "giladgaron" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Thursday, October 01, 2009 5:25 AM
> > Subject: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> Hello,
> >>
> >> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> >> I can connect and login to the server, but when I'm trying to send a
LIST

> >> command, I get a 550 error.
> >>
> >> Code:
> >> ftpsClient = new FTPSClient();
> >> ftpsClient.connect("IP", "2100");
> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> ftpsClient.list();
> >>
> >> Any ideas?
> >> Thanks.
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html

> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

giladgaron

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
I have only access to one folder, which is my home folder.
I've checked with PWD (that works) to verify that I'm in the right folder, I even CWD to that folder to verify again that I'm in the correct folder.
I'm in the correct folder and I get 550 when send the LIST command. in the EDT FTP Pro library it works.

Steve Cole-6 wrote:
A 550 is file not available, not found or not accessible. Are you able to
get a directory list from USER_NAME's home directory using the other FTPS
clients? Try changing the working directory, to one that's worked with the
other clients, before the list command.

----- Original Message -----
From: "giladgaron" <giladgaron@gmail.com>
To: <user@commons.apache.org>
Sent: Thursday, October 01, 2009 5:46 PM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> All the user settings are in order, I've double checked it.
> I can connect, get a list and upload files to the remote FTPS site via a
> desktop FTP client and another java library called EDT FTP Pro.
> I just can't seem to get it to work with the commons-net library.
>
>
>
> Steve Cole-6 wrote:
> >
> > Verify USER_NAME has permission to get a list from the default
directory.
> >
> > ----- Original Message -----
> > From: "giladgaron" <giladgaron@gmail.com>
> > To: <user@commons.apache.org>
> > Sent: Thursday, October 01, 2009 5:25 AM
> > Subject: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> Hello,
> >>
> >> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> >> I can connect and login to the server, but when I'm trying to send a
LIST
> >> command, I get a 550 error.
> >>
> >> Code:
> >> ftpsClient = new FTPSClient();
> >> ftpsClient.connect("IP", "2100");
> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> ftpsClient.list();
> >>
> >> Any ideas?
> >> Thanks.
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html
> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: user-help@commons.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Steve Cole-6

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Are you executing these commands after logging in? If not, try that.

      ftpsClient.execPBSZ(0);
      ftpsClient.execPROT("P");


----- Original Message -----
From: "giladgaron" <[hidden email]>
To: <[hidden email]>
Sent: Friday, October 02, 2009 4:37 PM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> I have only access to one folder, which is my home folder.
> I've checked with PWD (that works) to verify that I'm in the right folder,
I
> even CWD to that folder to verify again that I'm in the correct folder.
> I'm in the correct folder and I get 550 when send the LIST command. in the
> EDT FTP Pro library it works.
>
>
> Steve Cole-6 wrote:
> >
> > A 550 is file not available, not found or not accessible. Are you able
to
> > get a directory list from USER_NAME's home directory using the other
FTPS
> > clients? Try changing the working directory, to one that's worked with
the

> > other clients, before the list command.
> >
> > ----- Original Message -----
> > From: "giladgaron" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Thursday, October 01, 2009 5:46 PM
> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> All the user settings are in order, I've double checked it.
> >> I can connect, get a list and upload files to the remote FTPS site via
a

> >> desktop FTP client and another java library called EDT FTP Pro.
> >> I just can't seem to get it to work with the commons-net library.
> >>
> >>
> >>
> >> Steve Cole-6 wrote:
> >> >
> >> > Verify USER_NAME has permission to get a list from the default
> > directory.
> >> >
> >> > ----- Original Message -----
> >> > From: "giladgaron" <[hidden email]>
> >> > To: <[hidden email]>
> >> > Sent: Thursday, October 01, 2009 5:25 AM
> >> > Subject: Trying to get List via FTPS results in a 550 code.
> >> >
> >> >
> >> >>
> >> >> Hello,
> >> >>
> >> >> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> >> >> I can connect and login to the server, but when I'm trying to send a
> > LIST
> >> >> command, I get a 550 error.
> >> >>
> >> >> Code:
> >> >> ftpsClient = new FTPSClient();
> >> >> ftpsClient.connect("IP", "2100");
> >> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> >> ftpsClient.list();
> >> >>
> >> >> Any ideas?
> >> >> Thanks.
> >> >> --
> >> >> View this message in context:
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html

> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [hidden email]
> >> >> For additional commands, e-mail: [hidden email]
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [hidden email]
> >> > For additional commands, e-mail: [hidden email]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html

> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25721862.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

giladgaron

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Tried that before, no effect.

Steve Cole-6 wrote:
Are you executing these commands after logging in? If not, try that.

      ftpsClient.execPBSZ(0);
      ftpsClient.execPROT("P");


----- Original Message -----
From: "giladgaron" <giladgaron@gmail.com>
To: <user@commons.apache.org>
Sent: Friday, October 02, 2009 4:37 PM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> I have only access to one folder, which is my home folder.
> I've checked with PWD (that works) to verify that I'm in the right folder,
I
> even CWD to that folder to verify again that I'm in the correct folder.
> I'm in the correct folder and I get 550 when send the LIST command. in the
> EDT FTP Pro library it works.
>
>
> Steve Cole-6 wrote:
> >
> > A 550 is file not available, not found or not accessible. Are you able
to
> > get a directory list from USER_NAME's home directory using the other
FTPS
> > clients? Try changing the working directory, to one that's worked with
the
> > other clients, before the list command.
> >
> > ----- Original Message -----
> > From: "giladgaron" <giladgaron@gmail.com>
> > To: <user@commons.apache.org>
> > Sent: Thursday, October 01, 2009 5:46 PM
> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> All the user settings are in order, I've double checked it.
> >> I can connect, get a list and upload files to the remote FTPS site via
a
> >> desktop FTP client and another java library called EDT FTP Pro.
> >> I just can't seem to get it to work with the commons-net library.
> >>
> >>
> >>
> >> Steve Cole-6 wrote:
> >> >
> >> > Verify USER_NAME has permission to get a list from the default
> > directory.
> >> >
> >> > ----- Original Message -----
> >> > From: "giladgaron" <giladgaron@gmail.com>
> >> > To: <user@commons.apache.org>
> >> > Sent: Thursday, October 01, 2009 5:25 AM
> >> > Subject: Trying to get List via FTPS results in a 550 code.
> >> >
> >> >
> >> >>
> >> >> Hello,
> >> >>
> >> >> I'm trying to use commons-net ftps to access a remote FTP via TLS.
> >> >> I can connect and login to the server, but when I'm trying to send a
> > LIST
> >> >> command, I get a 550 error.
> >> >>
> >> >> Code:
> >> >> ftpsClient = new FTPSClient();
> >> >> ftpsClient.connect("IP", "2100");
> >> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> >> ftpsClient.list();
> >> >>
> >> >> Any ideas?
> >> >> Thanks.
> >> >> --
> >> >> View this message in context:
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html
> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> >> For additional commands, e-mail: user-help@commons.apache.org
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> > For additional commands, e-mail: user-help@commons.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html
> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: user-help@commons.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25721862.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
Steve Cole-6

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Can you provide the output from the command listener,  like this...

USER username
331 Password required for username
PASS password
230 Logged on
PBSZ 0
200 PBSZ=0
PROT P
200 Protection level set to P
SYST
215 UNIX emulated by FileZilla
PASV
227 Entering Passive Mode (90,0,0,126,4,196)
LIST
150 Connection accepted
226 Transfer OK
QUIT
221 Goodbye


----- Original Message -----
From: "giladgaron" <[hidden email]>
To: <[hidden email]>
Sent: Saturday, October 03, 2009 4:46 AM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> Tried that before, no effect.
>
>
> Steve Cole-6 wrote:
> >
> > Are you executing these commands after logging in? If not, try that.
> >
> >       ftpsClient.execPBSZ(0);
> >       ftpsClient.execPROT("P");
> >
> >
> > ----- Original Message -----
> > From: "giladgaron" <[hidden email]>
> > To: <[hidden email]>
> > Sent: Friday, October 02, 2009 4:37 PM
> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> I have only access to one folder, which is my home folder.
> >> I've checked with PWD (that works) to verify that I'm in the right
> >> folder,
> > I
> >> even CWD to that folder to verify again that I'm in the correct folder.
> >> I'm in the correct folder and I get 550 when send the LIST command. in
> >> the
> >> EDT FTP Pro library it works.
> >>
> >>
> >> Steve Cole-6 wrote:
> >> >
> >> > A 550 is file not available, not found or not accessible. Are you
able
> > to
> >> > get a directory list from USER_NAME's home directory using the other
> > FTPS
> >> > clients? Try changing the working directory, to one that's worked
with

> > the
> >> > other clients, before the list command.
> >> >
> >> > ----- Original Message -----
> >> > From: "giladgaron" <[hidden email]>
> >> > To: <[hidden email]>
> >> > Sent: Thursday, October 01, 2009 5:46 PM
> >> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >> >
> >> >
> >> >>
> >> >> All the user settings are in order, I've double checked it.
> >> >> I can connect, get a list and upload files to the remote FTPS site
via

> > a
> >> >> desktop FTP client and another java library called EDT FTP Pro.
> >> >> I just can't seem to get it to work with the commons-net library.
> >> >>
> >> >>
> >> >>
> >> >> Steve Cole-6 wrote:
> >> >> >
> >> >> > Verify USER_NAME has permission to get a list from the default
> >> > directory.
> >> >> >
> >> >> > ----- Original Message -----
> >> >> > From: "giladgaron" <[hidden email]>
> >> >> > To: <[hidden email]>
> >> >> > Sent: Thursday, October 01, 2009 5:25 AM
> >> >> > Subject: Trying to get List via FTPS results in a 550 code.
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> Hello,
> >> >> >>
> >> >> >> I'm trying to use commons-net ftps to access a remote FTP via
TLS.
> >> >> >> I can connect and login to the server, but when I'm trying to
send

> >> a
> >> > LIST
> >> >> >> command, I get a 550 error.
> >> >> >>
> >> >> >> Code:
> >> >> >> ftpsClient = new FTPSClient();
> >> >> >> ftpsClient.connect("IP", "2100");
> >> >> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> >> >> ftpsClient.list();
> >> >> >>
> >> >> >> Any ideas?
> >> >> >> Thanks.
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html

> >> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >>
> >>> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: [hidden email]
> >> >> >> For additional commands, e-mail: [hidden email]
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: [hidden email]
> >> >> > For additional commands, e-mail: [hidden email]
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html

> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: [hidden email]
> >> >> For additional commands, e-mail: [hidden email]
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [hidden email]
> >> > For additional commands, e-mail: [hidden email]
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25721862.html

> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25726848.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

giladgaron

Re: Trying to get List via FTPS results in a 550 code.

Reply Threaded More More options
Print post
Permalink
Here you go:

USER #####
331 Enter password
PASS #####
230 User logged in
PBSZ 0
200 PBSZ=0
PROT P
200 PRIVATE data channel protection level set
SYST
215 UNIX
LIST
550 Command LIST failed

If I send the PASV command, the client hangs, and after a few minutes a get an exception java.net.SocketException: Connection reset
Here's the output with PASV mode:

USER #####
331 Enter password
PASS #####
230 User logged in
PBSZ 0
200 PBSZ=0
PROT P
200 PRIVATE data channel protection level set
SYST
215 UNIX
PASV
227 Entering Passive Mode (###,###,###,###,39,22).
LIST
//client hangs and after a few minutes throws a  java.net.SocketException: Connection reset


Steve Cole-6 wrote:
Can you provide the output from the command listener,  like this...

USER username
331 Password required for username
PASS password
230 Logged on
PBSZ 0
200 PBSZ=0
PROT P
200 Protection level set to P
SYST
215 UNIX emulated by FileZilla
PASV
227 Entering Passive Mode (90,0,0,126,4,196)
LIST
150 Connection accepted
226 Transfer OK
QUIT
221 Goodbye


----- Original Message -----
From: "giladgaron" <giladgaron@gmail.com>
To: <user@commons.apache.org>
Sent: Saturday, October 03, 2009 4:46 AM
Subject: Re: Trying to get List via FTPS results in a 550 code.


>
> Tried that before, no effect.
>
>
> Steve Cole-6 wrote:
> >
> > Are you executing these commands after logging in? If not, try that.
> >
> >       ftpsClient.execPBSZ(0);
> >       ftpsClient.execPROT("P");
> >
> >
> > ----- Original Message -----
> > From: "giladgaron" <giladgaron@gmail.com>
> > To: <user@commons.apache.org>
> > Sent: Friday, October 02, 2009 4:37 PM
> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >
> >
> >>
> >> I have only access to one folder, which is my home folder.
> >> I've checked with PWD (that works) to verify that I'm in the right
> >> folder,
> > I
> >> even CWD to that folder to verify again that I'm in the correct folder.
> >> I'm in the correct folder and I get 550 when send the LIST command. in
> >> the
> >> EDT FTP Pro library it works.
> >>
> >>
> >> Steve Cole-6 wrote:
> >> >
> >> > A 550 is file not available, not found or not accessible. Are you
able
> > to
> >> > get a directory list from USER_NAME's home directory using the other
> > FTPS
> >> > clients? Try changing the working directory, to one that's worked
with
> > the
> >> > other clients, before the list command.
> >> >
> >> > ----- Original Message -----
> >> > From: "giladgaron" <giladgaron@gmail.com>
> >> > To: <user@commons.apache.org>
> >> > Sent: Thursday, October 01, 2009 5:46 PM
> >> > Subject: Re: Trying to get List via FTPS results in a 550 code.
> >> >
> >> >
> >> >>
> >> >> All the user settings are in order, I've double checked it.
> >> >> I can connect, get a list and upload files to the remote FTPS site
via
> > a
> >> >> desktop FTP client and another java library called EDT FTP Pro.
> >> >> I just can't seem to get it to work with the commons-net library.
> >> >>
> >> >>
> >> >>
> >> >> Steve Cole-6 wrote:
> >> >> >
> >> >> > Verify USER_NAME has permission to get a list from the default
> >> > directory.
> >> >> >
> >> >> > ----- Original Message -----
> >> >> > From: "giladgaron" <giladgaron@gmail.com>
> >> >> > To: <user@commons.apache.org>
> >> >> > Sent: Thursday, October 01, 2009 5:25 AM
> >> >> > Subject: Trying to get List via FTPS results in a 550 code.
> >> >> >
> >> >> >
> >> >> >>
> >> >> >> Hello,
> >> >> >>
> >> >> >> I'm trying to use commons-net ftps to access a remote FTP via
TLS.
> >> >> >> I can connect and login to the server, but when I'm trying to
send
> >> a
> >> > LIST
> >> >> >> command, I get a 550 error.
> >> >> >>
> >> >> >> Code:
> >> >> >> ftpsClient = new FTPSClient();
> >> >> >> ftpsClient.connect("IP", "2100");
> >> >> >> ftpsClient.login("USER_NAME, "PASSWORD");
> >> >> >> ftpsClient.list();
> >> >> >>
> >> >> >> Any ideas?
> >> >> >> Thanks.
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25695525.html
> >> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >>
> >>> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> >> >> For additional commands, e-mail: user-help@commons.apache.org
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> >> > For additional commands, e-mail: user-help@commons.apache.org
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25707068.html
> >> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >> >>
> >> >>
> >>
>> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> >> For additional commands, e-mail: user-help@commons.apache.org
> >> >>
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> > For additional commands, e-mail: user-help@commons.apache.org
> >> >
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25721862.html
> >> Sent from the Commons - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: user-help@commons.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> >
> >
> >
>
> --
> View this message in context:
http://www.nabble.com/Trying-to-get-List-via-FTPS-results-in-a-550-code.-tp25695525p25726848.html
> Sent from the Commons - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org