maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Downloading files from the pc to your N900 via WiFi? (https://talk.maemo.org/showthread.php?t=55705)

JR99 2010-06-10 02:38

Downloading files from the pc to your N900 via WiFi?
 
So I tried searching but cudn't find it, maybe I should have tried a little harder:D. Ok so im trying to find any method or app that will allow me to download the files from my pc(movies,music,photos,a whole folder,basicly any file whether supported or not by the N900) to my N900 onboard disk over my private wifi(home network)?

I know the media player suppprts streaming but im looking for way to have physical copy of the file on the hard disk.An app like a file manager which has a download file option.

If there is a way round it I bet you have an answer for the vice versa too.:)

cheers

colnago 2010-06-10 02:53

Re: Downloading files from the pc to your N900 via WiFi?
 
1. Enable media sharing in Windows Media Player (if applicable) and allow all devices.

2. Open File Manager on the 900, and select "Shared Media"

3. Drill down to the folder storing your desired file, and at the top of the window, press "File Manager", then select "Copy".

4. Select/highlight your file(s), press "copy", and then select the destination.

quipper8 2010-06-10 02:54

Re: Downloading files from the pc to your N900 via WiFi?
 
rsync or scp are the usual ways i think. you have to install some other stuff if your pc is windows probably to get those to run, not sure.

maybe you could run a web server too and have a page like directory listing with all the files and wget mirror one level deep to the device

you could also maybe install a syncml server on pc and use a syncml file source to sync files

f you install an aftermarket kernel or add kernel mods for cifs support, i think you could use wizard mounter for cifs shares and just use copy paste

there are probably more ways too :)

cheungs 2010-06-10 02:58

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by JR99 (Post 708092)
So I tried searching but cudn't find it, maybe I should have tried a little harder:D. Ok so im trying to find any method or app that will allow me to download the files from my pc(movies,music,photos,a whole folder,basicly any file whether supported or not by the N900) to my N900 onboard disk over my private wifi(home network)?

I know the media player suppprts streaming but im looking for way to have physical copy of the file on the hard disk.An app like a file manager which has a download file option.

If there is a way round it I bet you have an answer for the vice versa too.:)

cheers

Use SFTP. You can transfer file between the N900 and PC back and forth. Just Google "N900 SFTP Filezilla".

realitygaps 2010-06-10 03:06

Re: Downloading files from the pc to your N900 via WiFi?
 
scp is a nice way... Its easy to install on any linux distribution and also on the n900. Theres a tutorial for windows also.

dh3x 2010-06-10 03:06

Re: Downloading files from the pc to your N900 via WiFi?
 
What I did yesterday... install from App manager the 3 OpenSSH packages... it will prompt you to set root password. Open X-term and type ifconfig. Take note of your ip address.

Go to your PC, install WinSCP (assuming Windows OS). Using the ip address noted and root login, you can connect and transfer your files.

Hope that helps.

droll 2010-06-10 03:09

Re: Downloading files from the pc to your N900 via WiFi?
 
yep, scp is the best and most secure way. else, use ftp which is a bit faster since it's unsecured (assuming your wifi is already secured so not much point adding another layer of security unless you're paranoid).

alternatively, email the files to yourself. :) (low tech but works anyway!)

btw, you still can't beat the speed of the USB cable (easily >4-5mb/s vs 400-500k/s on scp). small files are ok but media files can be a pain to move to the device over wifi using scp.

jaem 2010-06-10 03:28

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by droll (Post 708122)
yep, scp is the best and most secure way. else, use ftp which is a bit faster since it's unsecured (assuming your wifi is already secured so not much point adding another layer of security unless you're paranoid).

Yes, but you can install an SFTP server on the PC. Just make sure that you set your FTP client to SFTP (or Port 22 (versus 21 for unsecure FTP), if it doesn't give you the SFTP option directly), if you want security. If you're using Linux on the PC, then in many distributions, SFTP is enabled when you install OpenSSH. I'd assume that if there's a Windows port/variant of the OpenSSH server, or if you use Cygwin or something, that you could do the same thing there. Alternatively, just find a standalone SFTP server.

rohanhole 2010-06-10 06:42

Re: Downloading files from the pc to your N900 via WiFi?
 
install ssshd on nokia n900 and winscp on windows .. connect the both device , u will get explorer like interface where u can copy paste all files :)

etuoyo 2010-06-10 06:48

Re: Downloading files from the pc to your N900 via WiFi?
 
Interesting thread. May be a necessary solution for me as I can no longer connect to PC due to faulty usb port.

paulkoan 2010-06-10 07:06

Re: Downloading files from the pc to your N900 via WiFi?
 
Consider using linux, your life will be easier.

I have three folders. One contains symlinks to music I want on my n900, one contains transcoded or symlinked video files, the other misc documents.

Every few minutes, I have a cron job running that does an rsync with these three folders to three equivilent folders on my n900.

The rsync also uses the --delete parameter so as soon as I delete a vid from my videos folder, it gets deleted from the n900.

I don't even have to think about it any more. "Oh, I want to watch this vid" - I symlink it into the appropriate folder and later on it appears, once the n900 gets on the network (obviously I have a static dhcp ip address for the n900)

rsync is over ssh btw.

(of course, you can do all this under windows too, it just seems so much easier in linux)

les_garten 2010-06-10 07:07

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by JR99 (Post 708092)
So I tried searching but cudn't find it, maybe I should have tried a little harder:D. Ok so im trying to find any method or app that will allow me to download the files from my pc(movies,music,photos,a whole folder,basicly any file whether supported or not by the N900) to my N900 onboard disk over my private wifi(home network)?

I know the media player suppprts streaming but im looking for way to have physical copy of the file on the hard disk.An app like a file manager which has a download file option.

If there is a way round it I bet you have an answer for the vice versa too.:)

cheers

Check out first link in my Sig.

etuoyo 2010-06-10 08:03

Re: Downloading files from the pc to your N900 via WiFi?
 
Okay as always the case with me and everything to do with my N900 I try something and it doesn't work.

I have put in my IP address in WinSCP, I have put root as the username, I have put OpenSSH as password but I am unable to connect. I get a message Access Denied. Isn't that typical.

Could someone please please help. Problem may be due to fact that when I was installing one of the three OpenSSH programs I was asked to put in a password and I think IP address. I exited to try to get the Ip address but it installed anyway. I tried to see a way to open OpenSSH on the N900 to put in the Ip address and password but it is not in the list of applications (I presume this is normal). I installed all three and reinstalled to I could be asked for password again but this time it just installed without asking for one.

slewis1972 2010-06-10 08:09

Re: Downloading files from the pc to your N900 via WiFi?
 
I use a linux drive NAS )readynas) and with a combination of rsync, fcron I have a scheduled task to sync files from my NAS > N900 at set times, plus transfer files from my N900 to my NAS for backup. Works for me using my home wifi.

Will be trying a secure method over 3g but thats on my wish list to get done.

Scott

paulkoan 2010-06-10 08:24

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by etuoyo (Post 708344)
was asked to put in a password and I think IP address. I exited

Do you have gainroot installed?

If so do this:

root
passwd root

Then type in the password you want.

etuoyo 2010-06-10 12:03

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by paulkoan (Post 708373)
Do you have gainroot installed?

If so do this:

root
passwd root

Then type in the password you want.

Worked perfectly. Great. Wish I could give you 10 thanks but make do with one.

xuggs 2010-06-10 16:39

Re: Downloading files from the pc to your N900 via WiFi?
 
Question.. Does installing SSH Server on N900 drain more battery? since it's always running. Should I terminate it from X-term when not using it? What are the commands btw? Thanks!

Tigerite 2010-06-11 08:52

Re: Downloading files from the pc to your N900 via WiFi?
 
You could install SSH Status and Switcher? I find myself though that SSH makes very little, if any, difference to battery drain.

http://maemo.org/downloads/product/Maemo5/ssh-status/

PS I also find using SFTP with FileZilla at least 3 or 4 times faster than SCP with WinSCP, and OpenSSH enables both :)

xuggs 2010-06-11 10:01

Re: Downloading files from the pc to your N900 via WiFi?
 
^yep I actually found the switcher yesterday and was quite happy. Thank you anyways.

mokkey 2010-06-11 10:09

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by JR99 (Post 708092)
So I tried searching but cudn't find it, maybe I should have tried a little harder:D. Ok so im trying to find any method or app that will allow me to download the files from my pc(movies,music,photos,a whole folder,basicly any file whether supported or not by the N900) to my N900 onboard disk over my private wifi(home network)?

I know the media player suppprts streaming but im looking for way to have physical copy of the file on the hard disk.An app like a file manager which has a download file option.

If there is a way round it I bet you have an answer for the vice versa too.:)

cheers

just do it the windows media player way and turn on media sharing then go to ur n900 media player then shared media and copy what you want

JR99 2010-06-12 01:55

Re: Downloading files from the pc to your N900 via WiFi?
 
Hey guys thanks, but it doesnt help me with my problem. The filezilla,wnspc are PC applications(which I already have setup :)). I want such an app on my N900 to access the PC while I am away from the PC.
Ok consider this situation.
My PC is downstaires, and I am downloading some music or a movie.

Now its nearly midnight and I have to wake up early for work.

So I leave the PC to download its thing and I go Upstaires on my bed.

I use My VNC Viewer to view my PC and whats going there.

Once it has finished downloading I want to then download that file on my N900 without the need to go downstaires.

As said earlier, we can use the file manager to copy these files from the shared folder(PC), but this option is sometimes really buggy and it doesnt give full access to the filesystem.

I want to have FULL access to my PC right from the C drive to the music under my user.

Another cool option would be to login with administrator privileges so we can acsess other user too.

Hope I am much more clearer this time
Thanks buddies:)

les_garten 2010-06-12 02:13

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by JR99 (Post 711542)
Hey guys thanks, but it doesnt help me with my problem. The filezilla,wnspc are PC applications(which I already have setup :)). I want such an app on my N900 to access the PC while I am away from the PC.
Ok consider this situation.
My PC is downstaires, and I am downloading some music or a movie.

Now its nearly midnight and I have to wake up early for work.

So I leave the PC to download its thing and I go Upstaires on my bed.

I use My VNC Viewer to view my PC and whats going there.

Once it has finished downloading I want to then download that file on my N900 without the need to go downstaires.

As said earlier, we can use the file manager to copy these files from the shared folder(PC), but this option is sometimes really buggy and it doesnt give full access to the filesystem.

I want to have FULL access to my PC right from the C drive to the music under my user.

Another cool option would be to login with administrator privileges so we can acsess other user too.

Hope I am much more clearer this time
Thanks buddies:)

Wizard Mounter

JR99 2010-06-12 23:19

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by les_garten (Post 711547)
Wizard Mounter

is it stable enough?

les_garten 2010-06-13 00:54

Re: Downloading files from the pc to your N900 via WiFi?
 
Quote:

Originally Posted by JR99 (Post 712611)
is it stable enough?

Seems to be, I've only tested it out.

sxc 2010-06-13 08:49

Re: Downloading files from the pc to your N900 via WiFi?
 
I have recenly switched to using NFS to do file transfers. Granted, I have a NAS (this works well as NFS server); but perhaps similar solutions exist for PCs - or it would certainly work out of the box if your PC ran Linux.

Advantage in doing so: everything can be controlled from the N900 - no need to interact with the PC.

Instructions I followed are here. This boils down to:
  • Install portmap (takes no time at all)
  • Create a two-liner script which does:
Code:

/etc/init.d/portmap start
mount -t nfs -oro nas:/volume1/myshare /mnt/myshare

(if I used this more often, I could consider adding these to system boot but for now, on-demand usage is fine by me...)

There also appears to be solutions that will let you use SMB (Windows) shares instead of NFS - look here.

itambrose 2010-08-11 06:16

Re: Downloading files from the pc to your N900 via WiFi?
 
Can no do this quite well either through File Manager or MediaBox, but neither support mulitple selections. Have got a decent Wifi speed and a network drive, so copying a whole album over wouldn't take that long.

dov 2010-08-11 06:52

Re: Downloading files from the pc to your N900 via WiFi?
 
Alternate solution is to install an ssh server on your windows box, e.g. copssh (http://www.itefix.no/i2/copssh) and then simply do scp from the command line on your n900. You'll have to setup the keys the first time though.

You can also use vnc to your windows box and then scp, e.g. by winscp, your files into your n900.


All times are GMT. The time now is 23:25.

vBulletin® Version 3.8.8