commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trasca Virgil <virgil_tra...@yahoo.com>
Subject Re: [vfs] - Ftp URL parsing is failing when there is an @ in the userName
Date Mon, 31 May 2010 15:48:59 GMT
FTP URL is correct but is failing in VFS because it contains @ inside the user name(name@widgetdesigns.com).


With the same URL I am able to connect from FireFox.

The user name from yahoo ftp is like name@widgetdesigns.com

http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/gftp/gftp-09.html

 Thank you,
Virgil
http://java-hobby.blogspot.com/




________________________________
From: Mark Fortner <phidias51@gmail.com>
To: Commons Users List <user@commons.apache.org>
Sent: Mon, May 31, 2010 6:35:10 PM
Subject: Re: [vfs] - Ftp URL parsing is failing when there is an @ in the  userName

I think your FTP URL is wrong.  Try: ftp://name:password@widgetdesigns.com

You'll find more examples of this in the VFS documentation:
http://commons.apache.org/vfs/filesystems.html

Mark Fortner

blog: http://feeds.feedburner.com/jroller/ideafactory


On Mon, May 31, 2010 at 7:25 AM, Trasca Virgil <virgil_trasca@yahoo.com>wrote:

> Hi,
>
>     I am trying to connect to yahoo ftp using Commons VFS.
>
> The valid URL for yahoo is like
>
> ftp://name@widgetdesigns.com:password@ftp.widgetdesigns.com
>
> However VFS fails to parse this url because the username contains @.
>
> Is there any workaround to get this working?
>
> http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/gftp/gftp-09.html
>
>  Thank you,
> Doru
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message