Read online files [Solved]
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Read online files [Solved]
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?
Ed
Read online files
Hi ED_P,
via slackyd:
Already installed!
and how do you use it?
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.
and how do you use it?
Read online files
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
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
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Read online files
Thank you guys.
And I found where I had seen this concept before. Re: Script Extracting Desktop Module Offline/Online from ISO (Post by brokenman #53193)
Ed
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Read online files
It almost worked.
Ubuntu.sh
My /tmp folder is not on my hard drive so why is the mount referencing NTFS???
-update-
This 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#
-update-
This worked.
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
Last edited by Ed_P on 14 Jul 2019, 20:18, edited 1 time in total.
Ed
Read online files
Maybe you mean this post by brokenman...Ed_P wrote: ↑10 Jul 2019, 17:32I 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?
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
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
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Read online files
Yup, that's the one.
Ed_P wrote: ↑14 Jul 2019, 13:40And I found where I had seen this concept before. Re: Script Extracting Desktop Module Offline/Online from ISO (Post by brokenman #53193)
Ed