Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Requesting list of files from website directory [RESOLVED]
New Posts  All Forums:Forum Nav:

Requesting list of files from website directory [RESOLVED] - Page 2

post #11 of 15
Thread Starter 
Quote:
Originally Posted by ZFedora View Post

Trust me, if you're running a linux system, do what I posted, it'll list the contents of a directory of your choice.

Those aren't terminal commands though, how would I even run them without a website/server of my own?
Quote:
Originally Posted by tompsonn View Post


Oh right... as soon as I saw publicly accessible I assumed it were someone else's web server that you wanted to scrape the files from ;P

Nothing sinister. Just trying to get some homework sets from a class site related to something I'm taking now. Solutions would be nice to have.

Though I suppose I can't speak for future endeavors. tongue.gif
Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-920 D0 3.8GHz @ 1.2V ASUS P6X58D Premium MSI GTX 670 Twin Frozr IV Corsair Vengeance 12GB DDR3-1600(C9) 
Hard DriveOSMonitorKeyboard
2x WD VR 150GB RAID 0 + 120GB Intel SSD 320 Windows 7 Ultimate 64-bit ASUS VW246H + Dell U2412M CM Quickfire Rapid (MX Blue) 
PowerCaseMouseMouse Pad
Corsair HX850W Antec Twelve Hundred Razer DeathAdder 3500 Razer Goliathus 
  hide details  
Reply
Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-920 D0 3.8GHz @ 1.2V ASUS P6X58D Premium MSI GTX 670 Twin Frozr IV Corsair Vengeance 12GB DDR3-1600(C9) 
Hard DriveOSMonitorKeyboard
2x WD VR 150GB RAID 0 + 120GB Intel SSD 320 Windows 7 Ultimate 64-bit ASUS VW246H + Dell U2412M CM Quickfire Rapid (MX Blue) 
PowerCaseMouseMouse Pad
Corsair HX850W Antec Twelve Hundred Razer DeathAdder 3500 Razer Goliathus 
  hide details  
Reply
post #12 of 15
Quote:
Originally Posted by tompsonn View Post

Oh right... as soon as I saw publicly accessible I assumed it were someone else's web server that you wanted to scrape the files from ;P

tbh I still think that's what he he trying to do.



@ OP

Are you hosting the files and you want other people to see a list of them, or are trying to obtain a list of files that someone else is hosting?

If you are hosting the files, then you're running a web server, so do the PHP thing suggested or turn on directory indexing.

If you are not hosting the files, then you cannot get a list of files without attacking the server. If you're not hosting the files then the people who have, have explicitly disallowed directory lists so you'll need them to either provide you with a directory list, or an FTP site.
post #13 of 15
Quote:
Originally Posted by Plan9 View Post

tbh I still think that's what he he trying to do.

Lol, I know :/
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
My System
(30 items)
 
"Zeus"
(13 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i5 2500K (4.5ghz @ 1.320v) Gigabyte Z68X-UD3R-B3 MSI R7970 Lightning Corsair 16GB (4x4GB) 
Hard DriveHard DriveHard DriveHard Drive
Plextor PX-256M5S 256GB Crucial M4 128GB Hitachi HDS721010CLA332 Hitachi HDS723020BLA642 
Hard DriveHard DriveHard DriveOptical Drive
Hitachi HDS723020BLA642 Hitachi HUA722010CLA330 WDC WD10EARS-00Z5B1 TSSTcorp CDDVDW SH-S223B 
CoolingCoolingOSMonitor
Phanteks PH-TC14PE with TY-140's Lamptron FCv5 (x2) Windows 7 Ultimate 64-bit Dell U2412M 
MonitorMonitorMonitorKeyboard
Dell U2412M Dell U2212HM Dell U2212HM Ducky DK9087 G2 Pro 
PowerCaseMouseMouse Pad
Corsair AX-750 Corsair Obsidian 650D Microsoft IntelliMouse Optical  XTRAC Ripper XXL 
AudioAudioAudioAudio
Westone W3 IEMs RE-272 IEMs Shure SE-215 IEMs Schiit Bifrost DAC 
AudioAudio
Schiit Asgard 2 amp HiVi Swan M50W 2.1 
CPUMotherboardGraphicsRAM
Intel Core i7 950 GA-X58-UD3R Radeon HD 5450  24GB Corsair @ 1333mhz 
Hard DriveOSPowerCase
4x WD Cavair Red 1TB in RAID 0 Windows Server 2008 R2 x64 Corsair HX-520 LianLi LanCool 
  hide details  
Reply
post #14 of 15
You posted this in the web coding forum, I assumed you had coding experience or were learning.

What I suggested was an approach in PHP to collect all the public links of an entire website. The downside is that only files that are listed somewhere on the web page will show up in that list. But it's the best you can do, unless you can run your own files on the webserver.
DLC 2.0
(12 items)
 
  
CPUMotherboardGraphicsRAM
i7 2700K @ 4.8 GHz ASUS P8Z68-V PRO/GEN3 Sapphire 7970 GHz Corsair Vengeance LP 8 GB 
Hard DriveHard DriveOptical DriveCooling
Crucial m4 128 GB WD Caviar Black 1 TB ASUS DRW-24B3ST Noctua NH-D14 
MonitorPowerCaseMouse
ASUS PA248Q Seasonic X-850 Cooler Master HAF X Razer DeathAdder 
  hide details  
Reply
DLC 2.0
(12 items)
 
  
CPUMotherboardGraphicsRAM
i7 2700K @ 4.8 GHz ASUS P8Z68-V PRO/GEN3 Sapphire 7970 GHz Corsair Vengeance LP 8 GB 
Hard DriveHard DriveOptical DriveCooling
Crucial m4 128 GB WD Caviar Black 1 TB ASUS DRW-24B3ST Noctua NH-D14 
MonitorPowerCaseMouse
ASUS PA248Q Seasonic X-850 Cooler Master HAF X Razer DeathAdder 
  hide details  
Reply
post #15 of 15
Thread Starter 
Quote:
Originally Posted by Plan9 View Post


If you are not hosting the files, then you cannot get a list of files without attacking the server. If you're not hosting the files then the people who have, have explicitly disallowed directory lists so you'll need them to either provide you with a directory list, or an FTP site.

I think this is the answer I was looking for. If the simple directory listing isn't available, it doesn't sound like there is a straightforward way to request what's available in that directory.

Quote:
Originally Posted by tompsonn View Post

Quote:
Originally Posted by Plan9 View Post

tbh I still think that's what he he trying to do.

Lol, I know :/

I promise I'm not! The question was worded to be in a very general sense. I had found a university staff member's page for a class similar to one I'm taking (different university that I'm not associated with), and the homeworks were done well. So there was a .../classname/hw1.pdf or something along those lines, and I was hoping to see if there were more items listed under that /classname/ directory for problems and solutions. That's all tongue.gif

Quote:
Originally Posted by villain View Post

You posted this in the web coding forum, I assumed you had coding experience or were learning.

What I suggested was an approach in PHP to collect all the public links of an entire website. The downside is that only files that are listed somewhere on the web page will show up in that list. But it's the best you can do, unless you can run your own files on the webserver.

Heh, the picture was made in jest. I understood what you said, I just haven't worked in php before (probably will be soon), so actually performing those instructions would prove to be difficult.


That being said, I'll just resolve the thread. Thanks, all!
Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-920 D0 3.8GHz @ 1.2V ASUS P6X58D Premium MSI GTX 670 Twin Frozr IV Corsair Vengeance 12GB DDR3-1600(C9) 
Hard DriveOSMonitorKeyboard
2x WD VR 150GB RAID 0 + 120GB Intel SSD 320 Windows 7 Ultimate 64-bit ASUS VW246H + Dell U2412M CM Quickfire Rapid (MX Blue) 
PowerCaseMouseMouse Pad
Corsair HX850W Antec Twelve Hundred Razer DeathAdder 3500 Razer Goliathus 
  hide details  
Reply
Heavy
(13 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-920 D0 3.8GHz @ 1.2V ASUS P6X58D Premium MSI GTX 670 Twin Frozr IV Corsair Vengeance 12GB DDR3-1600(C9) 
Hard DriveOSMonitorKeyboard
2x WD VR 150GB RAID 0 + 120GB Intel SSD 320 Windows 7 Ultimate 64-bit ASUS VW246H + Dell U2412M CM Quickfire Rapid (MX Blue) 
PowerCaseMouseMouse Pad
Corsair HX850W Antec Twelve Hundred Razer DeathAdder 3500 Razer Goliathus 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Requesting list of files from website directory [RESOLVED]