Sign up here and you can log into the forum!

FTP via webend

Feature requests / enhancements discussion regarding the web interface

FTP via webend   

Postby lukenova » Tue Mar 17, 2015 4:39 am

This might be completely off the wall or it might help someone else as well. I also don't know if it can realistically be done.

I would like a way to control an FTP client on the WDTV box from the web interface. In other words, I would be able to tell it which server to connect to, then browse the folders on that server, and tell the box to download certain files to a USB hard drive that is attached to the box.

My end goal would be that I could access the webend from my WDTV when I'm away from home through my phone, tablet, etc. From there I could tell the WDTV to download certain files from the FTP server so that they would be ready when I got home.

My current solution for this is remoting into my home PC and downloading them that way then either copying them to the USB hard drive by plugging it in, or by FTPing the files over from PC to the WDTV box using the built in FTP server in WDLXTV firmware. What I'm proposing would cut out needing the home PC running all the time.

Again, this might be a completely fringe case and if so, feel free to tell me how crazy I am. However, if its something that other people might be interested in, perhaps we could get someone interested in developing it.
lukenova
n00b
 
Posts: 5
Joined: Mon Mar 16, 2015 2:00 am

Re: FTP via webend   

Postby mad_ady » Tue Mar 17, 2015 6:09 am

What you're proposing is quite doable. You're looking for a ftp downloader webned - something like this: http://www.net2ftp.com/homepage/screenshots.html?PHPSESSID=mt6l%2C8lO%2C-6E8i7m5hTABJvYCzc

It can be done, packaged as an app.bin (http://wiki.wdlxtv.com/Creating_an_app_bin), and have a button start the webend component.
User avatar
mad_ady
Developer
 
Posts: 4518
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: FTP via webend   

Postby KAD » Tue Mar 17, 2015 7:52 am

an app.bin would be a perfect solution for something like this

although, I wonder if there might already be some functionality, as part of the Gen3 official webend
WD added p2p, http downloading, and I think it included ftp as well, but I haven't used it

and the few reports I've heard of users trying the p2p downloader, have not be very good
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: FTP via webend   

Postby lukenova » Tue Mar 17, 2015 10:00 am

If I get a chance in the next few days, I might try to put net2ftp into an app.bin structure and see if it will work. This gives me something new to play around with for a little bit.
lukenova
n00b
 
Posts: 5
Joined: Mon Mar 16, 2015 2:00 am

Re: FTP via webend   

Postby recliq » Tue Mar 17, 2015 10:09 am

I had a quick glance at the net2ftp site and I think it's not exactly what you are looking for...
It saves the files on the computer from which you connect to the net2ftp site (WDTV) not on the server running net2ftp.

Of course you can share the disk connected to WDTV and save to that share from your computer but it's kind of uneconomic, because the ftp traffic would be something like this:

Source -> WDTV (net2ftp) -> Your computer -> WDTV (shared disk)
:geek:
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany

Re: FTP via webend   

Postby mad_ady » Tue Mar 17, 2015 11:33 pm

Hmm, can't he connect to 127.0.0.1 and operate directly on the WDTV? This is how I pictured it would work...
User avatar
mad_ady
Developer
 
Posts: 4518
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: FTP via webend   

Postby recliq » Wed Mar 18, 2015 12:24 am

My end goal would be that I could access the webend from my WDTV when I'm away from home through my phone, tablet, etc. From there I could tell the WDTV to download certain files from the FTP server so that they would be ready when I got home.

Doesn't sound like he wants to connect to the FTP server on WDTV but to a FTP server on the net from the WDTV (through a webinterface).
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5513
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany


Return to Webend Web Interface

Who is online

Users browsing this forum: No registered users and 1 guest