Jump to content
IGNORED

WHTECH - wget/curl not working anymore


FSword7

Recommended Posts

I tried to retrieve some files from whtech through wget command but I got only index.html.  That is all.

I have to download a file by my hands each time.  That consumes my time a lot.

 

Does anyone have WHTECH mirror sites?

 

Thanks.

 

 

Link to comment
Share on other sites

The original directory system is still there, sans the root. Just need to remove the extra # symbol

 

 

 

 

By renaming with WordPad, I was able to restore full Paths, to sitelist.txt...

 

WGET, should be able to swallow this...

 

  sitelist.txt

 

  • Like 2
Link to comment
Share on other sites

I get it -- there is no ftp support in browsers.  But then, browsers were meant to be browsers, and ftp clients meant to be ftp clients.  Which reminds me that I need to compile the new version of ProFTPd.

Link to comment
Share on other sites

On 2/24/2024 at 11:47 AM, Gary from OPA said:

The site now uses this program to run it since ftp is basically no longer supported by web browsers.

 

https://github.com/jcampbell1/simple-file-manager

 

Wget should still work if you have a direct link to the file you want

Ok, I got it now.  I know that http browsers do not support ftp anymore. wget/curl is web browser for console, not ftp client. 

 

wget/curl is not compatible with that PHP code.  I will contact code maintainer about that. 

 

Alternative method is using sitelist.txt so that it can download files individually.

Link to comment
Share on other sites

8 hours ago, OLD CS1 said:

I get it -- there is no ftp support in browsers.  But then, browsers were meant to be browsers, and ftp clients meant to be ftp clients.  Which reminds me that I need to compile the new version of ProFTPd.

Yeah. I recommend installing rsync server so that it is more effective for mirroring and replaces old FTP service. It is available on Linux machines and MSYS/MINGW package. 

Link to comment
Share on other sites

Thanks for your help.   I was now able download files through multiple wget commands in shell script.

 

I copied a list from ftp.whtech.com website and manually created a list of wget commands in shell script file.


 

#!/bin/bash
wget -m -np -nv -R index.htm* https://ftp.whtech.com/CC40/
wget -m -np -nv -R index.htm* https://ftp.whtech.com/Cassettes/
:
:

 

Edited by FSword7
  • Like 1
Link to comment
Share on other sites

32 minutes ago, FSword7 said:

Thanks for your help.   I was now able download files through multiple wget commands in shell script.

 

I copied a list from ftp.whtech.com website and manually created a list of wget commands in shell script file.


 

#!/bin/bash
wget -m -np -nv -R index.htm* https://ftp.whtech.com/CC40/
wget -m -np -nv -R index.htm* https://ftp.whtech.com/Cassettes/
:
:

 

Good idea. I want to look at setting up a proper mirror of it and have it on my personal owncloud and also accessible to the public via my TI99ers.com domain. Another project to add to my long list to get done this year.

  • Like 4
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...