View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: remote file access
PostPosted: Fri May 22, 2009 10:23 pm 
Offline
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location: Montreal, Canada
Hi, I am trying to remotely access a file on my mythbox. I am far from it right now but have access via SSH and mythweb. Is there a simple way I can copy a file locally? I usually use webmin when I am local. I have been looking, but can't seem to find anything, can anyone point me in the right direction.

Thanks,
JJ

_________________
roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 22, 2009 11:30 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Log in via ssh.
Copy the file to /var/www
You (and the rest of the world) should be able to access it using:
http://your.host.ip/the_file


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 23, 2009 6:36 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
You want to copy a file locally? Do you mean locally = from your workstation PC? I'm confused why you would be using webmin to do this.

Do you want to:

1) Copy from mythtv to workstation
2) Copy from mythtv to mythtv
3) Copy from mythtv to anyone/anywhere

Without fully understanding what your goal is, I can't help :) Have you tried using Samba? It will allow you to read/write/delete files from a Windows machine on your LAN.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 23, 2009 7:35 am 
Offline
Joined: Sat Jan 26, 2008 10:28 pm
Posts: 53
Location: Montreal, Canada
Thanks a lot Greg, worked perfectly.

My goal was just to retrieve a file on my knoppmyth computer to my workstation PC in a different city. I find webmin a simple way to transfer files back and forth from my windows laptop to my knoppmyth PC. The problem was I have never needed to do this away from my LAN before.

JJ

_________________
roofchop
KnoppMyth R6, Antec Fusion, Asus P4P800-VM, Pentium 2.8Ghz, OCZ 2x1Gb RAM, 500Gb SATA, Hauppauge 2 PVR-150MCE, Nvidia GeForce 5600, Samsung SyncMaster 225BW (VGA), Optoma HD65 Projector (DVI)....


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 23, 2009 7:58 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
ok... using GF's method will work but know that unless you're tunneling your connection through ssh you are opening up your mythbox to potentially large security threat by making it open to the world via http.

If tunneling isn't to your liking, you can always use scp (linux-to-linux) or filezilla (sftp) if you want a windows gui.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 23, 2009 2:15 pm 
Offline
Joined: Mon Feb 16, 2004 7:06 pm
Posts: 309
Location: Toronto
Also you may want to check out CoreFTP. You can connect via sftp (uses port 22 and ssh) and run like any other ftp server.

_________________
KnoppMyth Folding@home
How to setup F@H
F@H Stats Page


Top
 Profile  
 
 Post subject: Re: remote file access
PostPosted: Sat May 23, 2009 10:28 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
roofchop wrote:
Hi, I am trying to remotely access a file on my mythbox. I am far from it right now but have access via SSH


If your MythBox allows ssh, then it usually also allows scp or sftp. e.g.
Code:
scp mythbox-remote-ip:/myth/tv/1003_20060302232800.mpg .

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu