+1knute wrote: Ethernet or WiFi, do you have a router? WinSCP and FileZilla run on Windows, are free, and can connect to your Pi via FTP or SFTP.
I feel for you. I think Samba is black magic.
Again I suggest you look at sftp and ssh. You can run that from a command line, call it from a program or run it periodically from cron.
Don't all of those solutions either assume Linux on both ends (which tends to make everything easy) or finding/verifying/installing/configuring some foreign software on the Windows PC side?knute wrote: ↑Thu Sep 21, 2017 6:54 pmAgain I suggest you look at sftp and ssh. You can run that from a command line, call it from a program or run it periodically from cron.
Or even with a known version. The only thing I hate more than Windows itself, is Samba!
What does "the same network" mean?
It's much easier if they are on the same sub-net, more so if you don't have "router control". To some extent it depends if you want to transfer files both ways (from either "end" or just one). I'm "lucky" - before WiFi was "cheap" I installed a wired network "backbone" so, most of the time my Pi's are always on the same sub-net. However I also have a couple of WiFi routers "piggy-backed"** onto the main router/modem. They provide WiFi (internet) access for the family's mobile devices in parts of the house where the main router's wireless connection is "poor" but the "local network" for those routers is different (IIRC, any Pi's connected via their WiFi can, effectively, only be clients to servers on the main sub-net).bejro wrote: I am trying to connect to my pi via filezilla or winscp but I keep failing. Is it necessary to locate pc and pi in the same network?
Presuming your pc connects to a router via WiFi (and then to the internet when it needs to) the simplest solution, when both it and your Pi0 are "within range" of the router is to use a WiFi dongle on the Pi0 (and, since both the pc and Pi0 will be on the same sub-net of the router they will "talk" with each other on that local network, no internet involved). IIRC, it's also possible, but trickier to set up a wireless connection between them without going via the router - that's similar to using a USB-to-LAN dongle on the Pi0 and connecting that via a wired LAN connection to the pc but means that the pc can no longer use the WiFi for the internet (at the same time, potentially providing internet access for the Pi0 too). TBH both WiFi and USB-to-LAN dongles are not that expensive so get one of each and "experiment"**.bejro wrote: SSH is enabled. Right now I'm using my phone to provide internet connection for my rpi0 and Wi-Fi connection for my pc. Eventually, two devices will be connected by Ethernet, However, I have not bought the connector yet.
Users browsing this forum: mstilw577 and 52 guests