Re: Unable to connect a website using LWP
- From: "Bill Segraves" <segraves_f13@xxxxxxxxxxxxxx>
- Date: Thu, 23 Feb 2006 21:47:31 GMT
<prasanna_ssb@xxxxxxxxxxxxxx> wrote in message
news:1140687108.651391.276040@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Iam trying to connect to a website
ftp://ftp.rcsb.org/pub/pdb/data/structures/all/pdb/ to download files
from there. I am using LWP for the same and I am getting the following
Error
Why are you using LWP to try to download the files?
If you point your browser to one level up in the directory hierarchy, e.g.,
ftp://ftp.rcsb.org/pub/pdb/data/structures/all/
you should be able to see the folders in said directory, among which is the
folder "pdb". While the permissions of the folders appear to allow you to
see the contents, the permissions of the files contained "in" the folders
may not be set to allow you to see the files.
Personally, I'd recommend that you enter through the "front door", e.g.,
http://www.rcsb.org
click on "Download Files" + "FTP Services", i.e.,
http://www.rcsb.org/pdb/static.do?p=download/ftp/index.html
and browse around a bit until you find the data you seek, *before* you
attempt to write a script to automate what you could simply do with your
browser.
Also, if you click on "FTP Services Help", you may find that the data you
seek is not where you thought it was, e.g.,
ftp://ftp.rcsb.org/pub/pdb/data/structures/divided/pdb/
where I can see all the folders and the files within them.
Good luck!
--
Bill Segraves
.
- Follow-Ups:
- Re: Unable to connect a website using LWP
- From: Prasanna
- Re: Unable to connect a website using LWP
- References:
- Unable to connect a website using LWP
- From: prasanna_ssb
- Unable to connect a website using LWP
- Prev by Date: Re: Unable to connect a website using LWP
- Next by Date: Re: Unable to connect a website using LWP
- Previous by thread: Re: Unable to connect a website using LWP
- Next by thread: Re: Unable to connect a website using LWP
- Index(es):
Relevant Pages
|
|