commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giladgaron <giladga...@gmail.com>
Subject Re: Trying to get List via FTPS results in a 550 code.
Date Sat, 03 Oct 2009 08:46:39 GMT

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


Mime
View raw message