ncftpget
Moderator: Mattk
ncftpget
Hallo,
auf dem Meteohub soll ja "ncftpget" bereits drauf sein. Zu finden unter \usr\bin\ncftpget .
Leider kann ich dieses Verzeichnis nicht finden/öffnen. Mache ich etwas falsch? Kann jemand mal für einen "Dummy" erklären, wie man es findet?
Gruß JÖRG
auf dem Meteohub soll ja "ncftpget" bereits drauf sein. Zu finden unter \usr\bin\ncftpget .
Leider kann ich dieses Verzeichnis nicht finden/öffnen. Mache ich etwas falsch? Kann jemand mal für einen "Dummy" erklären, wie man es findet?
Gruß JÖRG
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ncftpget
Hi,
Should be in /usr/bin:
Are you sure that you have the slashes right: Linux wants to use "/", dos uses "\"
Should be in /usr/bin:
Code: Select all
meteohub:/# ls -al /usr/bin/ncftp*
lrwxrwxrwx 1 root root 23 Jun 20 11:20 /usr/bin/ncftp -> /etc/alternatives/ncftp
-rwxr-xr-x 1 root root 238696 Oct 24 2006 /usr/bin/ncftp3
-rwxr-xr-x 2 root root 151604 Oct 24 2006 /usr/bin/ncftpbatch
-rwxr-xr-x 1 root root 107732 Oct 24 2006 /usr/bin/ncftpbookmarks
-rwxr-xr-x 1 root root 145812 Oct 24 2006 /usr/bin/ncftpget
-rwxr-xr-x 1 root root 122484 Oct 24 2006 /usr/bin/ncftpls
-rwxr-xr-x 1 root root 147476 Oct 24 2006 /usr/bin/ncftpput
-rwxr-xr-x 2 root root 151604 Oct 24 2006 /usr/bin/ncftpspooler
Re: ncftpget
And where can I find usr/bin ?
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ncftpget
It's not usr/bin, but /usr/bin.
If you start a path with "/", LInux will assume root. If you start a path without "/" you are using a relative path that is dependent on the current doirectory.
So /usr/bin will always get you to the same location.
If you start a path with "/", LInux will assume root. If you start a path without "/" you are using a relative path that is dependent on the current doirectory.
So /usr/bin will always get you to the same location.
Re: ncftpget
Fehler:
Auf \\METEOHUB/usr/bin konnte nicht zugegriffen werden.
Auf \\METEOHUB/usr/bin konnte nicht zugegriffen werden.
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ncftpget
Ah, now I see, you are using the share and try to get access to it. That is not going to work. You will need to login using ssh before you can use the command.
Even when it was available using the sahre, it would not work since the platform is different.
What are you trying to do?
Even when it was available using the sahre, it would not work since the platform is different.
What are you trying to do?
Re: ncftpget
I want to try a webcam script. Weather data in the picture ...
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ncftpget
That is to cryptic, where are you running the script, and from where to where is the data going to be transferred?
Re: ncftpget
It is a "shell script". The webcam-data is on my website. Meteohub should be taken the picture with the script.
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: ncftpget
I'm not sure if that is going to work, but if you want to run a shell script on meteohub, you will need to login using an ssh utility like putty or openssh. Accessing meteohub using share "\\meteohub\..." is NOT going to work for your purpose.
Re: ncftpget
Thanks for your support.
Re: ncftpget
Der SSH Zugang funktioniert jetzt.
Doch wie bekomme ich mein Script dorthin. Hat jemand eine Anleitung oder ist es zu intensiv?
Oder könnte es jemand für mich machen, wenn ich meinen Meteohub freigebe? Das Script ist von WFPOST.
Jörg
Doch wie bekomme ich mein Script dorthin. Hat jemand eine Anleitung oder ist es zu intensiv?
Oder könnte es jemand für mich machen, wenn ich meinen Meteohub freigebe? Das Script ist von WFPOST.
Jörg
Re: ncftpget
Ach, warum soll man sich das Leben unnötig schwer machen.
Ich bleibe bei PHP ...
Erster Test (geht doch, oder?):
Ich bleibe bei PHP ...
Erster Test (geht doch, oder?):
Re: ncftpget
mit dem kostenlosen Programm WinSCP kannst du mit einer Explorer GUI alle (internen) meteohub-Verzeichnisse aufrufen und mit dem integrierten Editor bearbeiten. Um das script ausführbar zu machen, muß man das execute-bit setzen.Nitro70 wrote:Der SSH Zugang funktioniert jetzt.
Doch wie bekomme ich mein Script dorthin. Hat jemand eine Anleitung oder ist es zu intensiv?
Oder könnte es jemand für mich machen, wenn ich meinen Meteohub freigebe? Das Script ist von WFPOST.
Jörg
Geht mit rechter Maustaste auf die Datei. Oder mit chmod.
Ausser dem webserver-verzeichnis andere oder gar root freizugeben, ist nicht nötig und auch nicht zu empfehlen.
Welches script? das twitter script?
Re: ncftpget
Hi wfpost,
wir hatten das vor einiger Zeit mal per PN besprochen. Habe dann nochmal nachgefragt und keine Antwort bekommen. Habe das Projekt dann erstmal aufs Eis gelegt.
Momentan etwas mehr Zeit, möchte ich meine Webcam überarbeiten.
Das Script, welches ich meine ist folgendes:
Bilder von der Kamera abholen - Wetterdaten einfügen ...
Das mit dem Freigeben meinte ich so, ob mir hier jemand das auf meinem Meteohub einrichten kann (online). Mir fehlen wahrscheinlich die Kenntnisse!
Daher bin ich erstmal wieder auf PHP umgestiegen. Deine Variante finde ich allerdings "eleganter" und ist genau das was ich suche. Allerdings bekomme ich es mangels Können nicht hin.
Gruß
JÖRG
Wow,
das Programm (WinSCP) gerade mal ausprobiert, cool.
Müsste jetzt nur wissen wohin mit dem Script ...
Habe Dir eine Nachricht geschickt.
wir hatten das vor einiger Zeit mal per PN besprochen. Habe dann nochmal nachgefragt und keine Antwort bekommen. Habe das Projekt dann erstmal aufs Eis gelegt.
Momentan etwas mehr Zeit, möchte ich meine Webcam überarbeiten.
Das Script, welches ich meine ist folgendes:
Bilder von der Kamera abholen - Wetterdaten einfügen ...
Das mit dem Freigeben meinte ich so, ob mir hier jemand das auf meinem Meteohub einrichten kann (online). Mir fehlen wahrscheinlich die Kenntnisse!
Daher bin ich erstmal wieder auf PHP umgestiegen. Deine Variante finde ich allerdings "eleganter" und ist genau das was ich suche. Allerdings bekomme ich es mangels Können nicht hin.
Gruß
JÖRG
Wow,
das Programm (WinSCP) gerade mal ausprobiert, cool.
Müsste jetzt nur wissen wohin mit dem Script ...
Habe Dir eine Nachricht geschickt.