OK, no problem.

If VFS did not give a suitable error message at work, then it might be
worth filing a bug...

On 29/11/2007, James Carman <[EMAIL PROTECTED]> wrote:
> Okay, nevermind.  This works from my home machine.  I was running that
> code from work today and it failed.  So, it must be some issue with
> their firewall or something.  Thank you for looking into it for me.
>
>
>
> On 11/28/07, sebb <[EMAIL PROTECTED]> wrote:
> > On 29/11/2007, James Carman <[EMAIL PROTECTED]> wrote:
> > > I accidentally posted this on the dev list earlier.  I meant to send
> > > it to [EMAIL PROTECTED]  Sorry for cross-posting.
> > >
> > > Can someone else try this out, please?  I don't know what's going on
> > > here.  I can access the file by pasting the URL into my browser(s) and
> > > via a text-based FTP client, but I can't get Java to download it.  I
> > > tried using URL objects and that doesn't work either.  I figured VFS
> > > would be able to handle it:
> > >
> > > FileSystemManager fsm = VFS.getManager();
> > > FileObject fo =
> > > fsm.resolveFile("ftp://rgd.mcw.edu/pub/data_release/README.txt";);
> > > fo.getContent();
> > >
> > > If anyone has any ideas, please let me know.  Thanks.
> >
> > I tried with the FTP sampler in JMeter, and it gives the following error:
> >
> > Response message: 503 Login with USER first
> >
> > This does not happen with the browser; I assume it automatically
> > performs an anonymous login.
> >
> > If I add an anonymous login to the FTP sampler it then works.
> >
> > Sorry, I've no idea whether VFS handles logins or not.
> >
> > But I would have thought it should give a suitable error if the
> > problem is due to lack of login details...
> >
> > > ---------------------------------------------------------------------
> > > 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]
> >
> >
>
> ---------------------------------------------------------------------
> 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]

Reply via email to