logo       


Help: wget refuses to chdir into parent directories over FTP?: msg#00032

Subject: Help: wget refuses to chdir into parent directories over FTP?
Dear wget team,

I am trying to use wget to mirror an FTP directory structure on a
server that does not allow anonymous FTP, and where I have only
limited access rights, and no ability to modify its configuration.

I am being hampered either by my own lack of knowledge of wget, or a
design flaw in wget. I hope you can help me determine which it is.

My problems come from the fact that I have to log into the server as a
particular username (say "mike"). When I log in (over FTP) this places
me in /users/mike. But all the files of interest live under /site.

If I am FTPing in interactively, all is well. I "cd" to "/site" and
"get" the files I need.

But I have also tried to mirror the whole site with wget, and this is
where I get stuck. When I try:

wget -m (or wget -r ...) ftp://mike:mypassword@xxxxxxxxxxxx/site/

or: 

wget -r  ftp://mike:mypassword@xxxxxxxxxxxx/../../site/

or even, trying to fool wget:

wget -r  ftp://mike:mypassword@xxxxxxxxxxxx/%2E%2E/%2E%2E/site/

wget always refuses to change directory out of /users/mike:

     Connecting to ftp.site.com[address]:21... connected.
     Logging in as mike ... Logged in!
     ==> SYST ... done.  ==> PWD ... done.
     ==> TYPE I ... done. ==> CWD /users/mike/site ...

     No such directory `site'.

Is there a way to use wget to do what I need to do?
Or do I have to use another tool?
If so, can anyone recommend one?


Thanks very much!


Mike Decerbo
mike at mit dot edu








Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | 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