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" <[email protected]> To: <[email protected]> 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" <[email protected]> > > To: <[email protected]> > > 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" <[email protected]> > >> > To: <[email protected]> > >> > 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" <[email protected]> > >> >> > To: <[email protected]> > >> >> > 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: [email protected] > >> >> >> For additional commands, e-mail: [email protected] > >> >> >> > >> >> > > >> >> > > >> >> > > >> --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: [email protected] > >> >> > For additional commands, e-mail: [email protected] > >> >> > > >> >> > > >> >> > > >> >> > >> >> -- > >> >> 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: [email protected] > >> >> For additional commands, e-mail: [email protected] > >> >> > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [email protected] > >> > For additional commands, e-mail: [email protected] > >> > > >> > > >> > > >> > >> -- > >> 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: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > -- > 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
