Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: special characters in FTP URL: msg#00014

web.wget.general

Subject: Re: special characters in FTP URL

Hello,

actually it seems the server is running Microsoft FTP Service (Version
5.0) under Windows 2000, but I really don´t have any detailed
information, I just want to get the logfiles.

However, by searching the archives of this list, I managed to solve
this problem by myself, the solutions is:

wget.exe --execute "login=user/name" --execute "passwd=password"
--passive-ftp --glob=on ftp://ip-address/*.zip

And it works !

Thanks anyway,

Adalbert

Kalin KOZHUHAROV schrieb:
> Hi!
>
> > I´m having problems with encoding special characters in
> the FTP URI.
> >
> > The URL I´m trying to access has a username with a
> slash in it, such as
> > user/name.
>
> And which server/OS will accept that? What for? Just
> interested...
>
>
> > So the wget command I´m using is:
> > wget.exe --passive-ftp --glob=on
> > ftp://user%2Fname:password@ip-adress/*.zip
> >
> > However, wget writes:
> > --10:08:04-- ftp://userFname:*password*@ipadress/*.zip
> > => `.listing´
> > Connecting to ip-adress:21 .... connected.
> > Logging in as userFname ...
> > Login incorrect.
> > unlink: No such file or directory
>
> What version are you using? 1.8.2 works on linux, here is
> the test:
>
> $wget
> ftp://longuser%2Fname:my-email@xxxxxxxxxxxxxx/pub/README
> --21:35:41--
> ftp://longuser/name:*password*@ftp.kernel.org/pub/README
> => `README'
> Resolving ftp.kernel.org... done.
> Connecting to ftp.kernel.org[204.152.189.116]:21...
> connected.
> Logging in as longuser/name ...
> Login incorrect.
>
> I needed two RFCs to read and 4 times to run through the
> debugger to
> understand that it works... Next time, first I will check
> what posters
> are saying...
>
>
> >
> > unlink: No such file or directory
> What is that??
>
>
> You may try to use quotes around the URL. Like:
>
> wget
> 'ftp://longuser%2Fname:my-email@xxxxxxxxxxxxxx/pub/README'
>
> I think your Windoze might be messing up %2 environment
> variable :-) if
> it is valid name.
>
> Kalin.
>
> --
> ||///_ o *****************************
> ||//,_/> WWW: http://ThinRope.net/
> |||\ <"
> |||\\ '
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
--
--
Adalbert Duda
a.duda@xxxxxxxxxxx
Vienna, Austria, Europe


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation