Read online files [Solved]

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Read online files [Solved]

Post#1 by Ed_P » 10 Jul 2019, 17:32

I seem to remember encountering a posting that someone's script was able to read the contents of online files, zips and isos, without downloading them first. Now I can't find it. I'm not even sure it wasn't a Windows app/capability. Did I dream this or is it possible? :crazy:
Ed

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Read online files

Post#2 by babam » 13 Jul 2019, 17:06

httpfs2
Sorry, my English is bad.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Read online files

Post#3 by Ed_P » 14 Jul 2019, 02:17

Ok! :Yahoo!: Thank you. :beer:

Now if Porteus had it...
Ed

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Read online files

Post#4 by Kulle » 14 Jul 2019, 07:47

Hi ED_P,
via slackyd:

Code: Select all

Searching httpfs2: found 1 package.
httpfs2-0.1.4-x86_64-1dj.txz [from Slackel]
...
guest@porteus:~$ slackyd -g httpfs2-0.1.4-x86_64-1dj.txz
...
*** httpfs2-0.1.4-x86_64-1dj.txz: already installed (httpfs2-0.1.5-x86_64-1jay).
All packages available are installed.
Already installed!
and how do you use it?

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Read online files

Post#5 by babam » 14 Jul 2019, 07:56

Pre-installed on Porteus.
Sorry, my English is bad.

Kulle
Warlord
Warlord
Posts: 594
Joined: 28 Jan 2017, 10:39
Distribution: v4.0 64bit Xfce
Location: Berlin

Read online files

Post#6 by Kulle » 14 Jul 2019, 10:59

Now I have realized the meaning:
e.g.
sudo httpfs2 http://....xyz.iso ~/tmp
(mount xyz.iso via httpfs2 in folder tmp)
and then
sudo dd if=~/tmp of=/dev/cdrom

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Read online files

Post#7 by Ed_P » 14 Jul 2019, 13:40

:Yahoo!:

Thank you guys. :friends: :beer:

And I found where I had seen this concept before. :good: Re: Script Extracting Desktop Module Offline/Online from ISO (Post by brokenman #53193)
Ed

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Read online files

Post#8 by Ed_P » 14 Jul 2019, 20:16

:( It almost worked.

Ubuntu.sh

Code: Select all

#!/bin/bash 
# https://forum.porteus.org/viewtopic.php?f=140&t=8588&p=72861#p72861
# https://forum.porteus.org/viewtopic.php?p=53193#p53193

iso=http://mirrors.rit.edu/ubuntu-releases/19.04/ubuntu-19.04-desktop-amd64.iso

# set -x;  # Diagnostic output on!!  http://man.cx/bash
mkdir /tmp/Ubuntu
httpfs2 $iso /tmp
mount /tmp/ubuntu-19.04-desktop-amd64.iso/ /tmp/Ubuntu            
ls /tmp/Ubuntu

Code: Select all

guest@porteus:~$ su
Password:
root@porteus:/home/guest# ./Ubuntu.sh
file name: 	ubuntu-19.04-desktop-amd64.iso
host name: 	mirrors.rit.edu
port number: 	80
protocol: 	http
request path: 	/ubuntu-releases/19.04/ubuntu-19.04-desktop-amd64.iso
auth data: 	(null)
file size: 	2097152000
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
ntfs-3g: Failed to access volume '/tmp/Ubuntu/ubuntu-19.04-desktop-amd64.iso/': No such file or directory

ntfs-3g 2017.3.23 integrated FUSE 27 - Third Generation NTFS Driver
		Configuration type 1, XATTRS are on, POSIX ACLS are off

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2017 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage:    ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options:  ro (read-only mount), windows_names, uid=, gid=,
          umask=, fmask=, dmask=, streams_interface=.
          Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

News, support and information:  http://tuxera.com 
root@porteus:/home/guest# 
My /tmp folder is not on my hard drive so why is the mount referencing NTFS??? :%)

-update-

This worked. :good:

Code: Select all

#!/bin/bash 
# https://forum.porteus.org/viewtopic.php?f=140&t=8588&p=72861#p72861
# https://forum.porteus.org/viewtopic.php?p=53193#p53193

iso=http://mirrors.rit.edu/ubuntu-releases/19.04/ubuntu-19.04-desktop-amd64.iso

# set -x;  # Diagnostic output on!!  http://man.cx/bash
mkdir /tmp/{iso,Ubuntu}
httpfs2 $iso /tmp/iso
mount /tmp/iso/ubuntu-19.04-desktop-amd64.iso  /tmp/Ubuntu

echo
ls /tmp/Ubuntu
:happy62:
Last edited by Ed_P on 14 Jul 2019, 20:18, edited 1 time in total.
Ed

User avatar
M. Eerie
Moderator
Moderator
Posts: 620
Joined: 31 Aug 2017, 21:18
Distribution: Nemesis Xfce/MATE x64

Read online files

Post#9 by M. Eerie » 15 Jul 2019, 18:12

Ed_P wrote:
10 Jul 2019, 17:32
I seem to remember encountering a posting that someone's script was able to read the contents of online files, zips and isos, without downloading them first. Now I can't find it. I'm not even sure it wasn't a Windows app/capability. Did I dream this or is it possible? :crazy:
Maybe you mean this post by brokenman...

It was recently pointed out by ncmprhnsbl here.

:)

Cheers!
> Does not compute_ 🖖

https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=84002#p84002
https://forum.porteus.org/viewtopic.php?p=77174#p77174
https://forum.porteus.org/viewtopic.php?f=39&t=8584

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Read online files

Post#10 by Ed_P » 15 Jul 2019, 20:54

M. Eerie wrote:
15 Jul 2019, 18:12
Maybe you mean this post by brokenman...
Yup, that's the one.
Ed_P wrote:
14 Jul 2019, 13:40
And I found where I had seen this concept before. :good: Re: Script Extracting Desktop Module Offline/Online from ISO (Post by brokenman #53193)
:)
Ed

Post Reply