Jump to content


Photo

FTP Client (not as a plugin)

ET6000

  • Please log in to reply
128 replies to this topic

Re: FTP Client (not as a plugin) #101 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 26 October 2017 - 08:43

This version seems to work.

 

But at the moment I am hampered in testing until I resolve the windows access to the receiver.

Also on Ubuntu there is no connection.

 

Willy


Edited by doglover, 26 October 2017 - 08:47.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #102 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 26 October 2017 - 10:10

Has been addressed, according to your other topic.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #103 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 October 2017 - 12:38

This version seems to work.

...

Willy

 

which one?


True sarcasm doesn't need green font...

Re: FTP Client (not as a plugin) #104 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 26 October 2017 - 12:43

The above published ipk.

 

Another thing:  Tried to convert everything to using curl.

 

I got the following message from curl:

 

curl: (1) Protocol "scp" not supported or disabled in libcurl

or

curl: (1) Protocol "sftp" not supported or disabled in libcurl

 

And I really need sftp for updating 2 sites.   Bummer.

I am stuck with yafc.

 

And yafc wont also connect on these sites:

yafc> open PLi
The server is unknown. Public key hash: 35:a3:14:8e:2d:4a:c9:07:4b:3f:e0:fc:08:2c:9a:ad:7f:a6:e5:8d
Do you trust the host key? [yes/No] yes
Error Permission denied
yafc>

So I am stuck at the moment.  curl won't do sftp and yafc wont connect on OpenPLi.  Something causes a permission denied.

I am in real trouble now.

 

Willy


Edited by doglover, 26 October 2017 - 13:20.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #105 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 October 2017 - 12:53

ok, asked because in post #100 I saw some installation error (unmet dependencies)...

 

so, yafc installed successfully and works as it used to on 4.0?

 

I can try to add the recipe to develop, and add yafc to the feed then (?)


True sarcasm doesn't need green font...

Re: FTP Client (not as a plugin) #106 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 26 October 2017 - 13:25

yafc works on 4.0

 

The version given as an ipk some post ago works on 4 and 6.

On 6 if the ipk for *      libssh (>= 0.7.3) is installed.  Can be compiled from the development github of OpenPLi

 

 

However on PLi6.0 only ftp works.  The sftp (which I really really need ) works also on PLi4.  But PLi6 refuses to open a sftp connection.

I suppose something to do with the SSH protocols.

yafc> open kingserver
The server is unknown. Public key hash: 91:c6:a9:9b:31:bc:24:80:65:13:6f:22:d2:99:92:f5:99:05:da:29
Do you trust the host key? [yes/No] yes
Error Permission denied
yafc> open kingserver
The server is unknown. Public key hash: 91:c6:a9:9b:31:bc:24:80:65:13:6f:22:d2:99:92:f5:99:05:da:29
Do you trust the host key? [yes/No]
yafc> ls
Not connected. Try 'open --help' for more information.

Willy


Edited by doglover, 26 October 2017 - 13:35.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #107 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 26 October 2017 - 13:42

Why is sftp removed from curl?

Which genius came up with this idea to cripple curl?

 

I do not know how to proceed now.  (go back to OpenPLi 4.0 I guess)

Very nice.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #108 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 26 October 2017 - 15:10

please try attached yafc package built against release-6.0 branch, whether it installs / works.....

Attached Files


True sarcasm doesn't need green font...

Re: FTP Client (not as a plugin) #109 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 26 October 2017 - 15:39

Why is sftp removed from curl?

Which genius came up with this idea to cripple curl?

 

I don't see that in the output, I only see a permission denied (for some reason or other, that needs debugging).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #110 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 October 2017 - 15:45

The package config libssh is missing from curl.

I will restore it.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: FTP Client (not as a plugin) #111 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 26 October 2017 - 15:48

Ok, let me know when done, then I can cherry-pick in into 6.0-release for this weekends build.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #112 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 26 October 2017 - 15:59

It installs.  No problem.

however still the same error:

root@hd2400:~# yafc
yafc 1.3.7
This program comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'.
This is free software; type 'copyright' for details.
yafc> open PLi
The server is unknown. Public key hash: 35:a3:14:8e:2d:4a:c9:07:4b:3f:e0:fc:08:2c:9a:ad:7f:a6:e5:8d
Do you trust the host key? [yes/No] yes
Error Permission denied
yafc>

Permission issue.

Same problem

 

in the messages log is nothing to found.

 

Willy

 

BTW:  FTP sites work normally


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #113 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 October 2017 - 16:05

Ok, let me know when done, then I can cherry-pick in into 6.0-release for this weekends build.


It's done, https://github.com/O...3ace9036da76ec8

Please also commit yafc to feeds, because I totally forgot to do that :)
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: FTP Client (not as a plugin) #114 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 26 October 2017 - 16:14

It's done, https://github.com/O...3ace9036da76ec8


Pushed to 6.0-release.
 

Please also commit yafc to feeds, because I totally forgot to do that :)

 

What do you mean by this exactly? Add it to the openpli-enigma-feeds recipe?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #115 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 October 2017 - 16:26

What do you mean by this exactly? Add it to the openpli-enigma-feeds recipe?


Yes, I created the feed long time ago, then MiLo updated, but nobody commit to OE.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: FTP Client (not as a plugin) #116 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 26 October 2017 - 16:38

I assume the recipe itself as well, did a quick search, but I can't find a bb file for yafc in develop ?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: FTP Client (not as a plugin) #117 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 29 October 2017 - 10:45

I still cannot use yafc for sftp sites.  It wont accept the security key.

I do not think the problem is with yafc but with the SSH system.  But since I am not specialist in this, I do not know what is really wrong.

 

However, to point out the importance.  A linux receiver cannot access SFTP sites.

 

In curl the SFTP protocol has been disabled.

 

The sftp program which is present on the enigma2 receivers, can only access SFTP sites with the public/Private keys method.  Which in my case is not good, as I cannot put the public keys on the site since they belong to somebody else.  I need to access the sites via a normal user/password.

 

In yafc I can update the site (only the changed files are updated and not the lot) with this short set of instructions:

yafc -q <<EOF2
lcd $EPGDIR/
open PLi
put -ne *.gz
put -ne *.xz
close
exit
EOF2

I found a way on my NAS (does not work on the enigma2 receiver) by writing the following bash script:

echo Pli
rm /volume1/EPG/remote.dir
lftp <<EOF2
open -u user,password -p 2201 sftp://siteurl/
ls > /volume1/EPG/remote.dir
quit
EOF2

while read line; do
    oldifs="$IFS"
    IFS=' ' ; temp1=($line)
    IFS="$oldifs"
    LengteLocal=${temp1[4]} 
    RemoteLine=$(grep -e "${temp1[8]}" $REMOTE)      
    oldifs="$IFS"
    IFS=' ' ; temp2=($RemoteLine)
    IFS="$oldifs"
    LengteRemote=${temp2[4]}
  if [ -z $LengteRemote ];  then  LengteRemote=0 ; fi
    if [ $LengteRemote -ne 0 ]; then 
      if [ $LengteLocal -ne $LengteRemote ]; then
          echo $EPGDIR/${temp1[8]}
lftp  <<EOF3
          open -u user,password -p 2201 sftp://siteurl/
          put $EPGDIR/${temp1[8]}
          exit
EOF3
      fi
    fi   
done  < $LOCALFILE

This complete thing just to upload the changed files.  (lftp is the only FTP client on the Synology NAS which supports SFTP)

Can you agree yafc is a lot better and easier.

 

So I am still looking at a solution for this SSH problem.

 

Willy


Edited by doglover, 29 October 2017 - 10:46.

~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #118 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 October 2017 - 10:56

In curl the SFTP protocol has been disabled.


The release-6.0 updated with curl and libssh2. Also the yafc added to feeds. So best to do is make a clean flash and try the today's release.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: FTP Client (not as a plugin) #119 doglover

  • Rytec EPG Team
  • 17,508 posts

+672
Excellent

Posted 29 October 2017 - 14:00

There is not new release yet this morning for the HD2400.

Neither are those packages on the feed yet.

 

I will have to wait until the new release will become available.

 

Willy


~~Rytec Team~~
Maxytec Multibox SE OpenPli (used as mediaplayer)
Mutant HD2400 OpenPli
Vu+ Duo OpenPli (backup)

Synology NAS

Sat: 13E, 19.2E, 23.5E and 28.2E
*Pli/Rytec EPG POWERED*


Re: FTP Client (not as a plugin) #120 WanWizard

  • PLi® Core member
  • 71,236 posts

+1,842
Excellent

Posted 29 October 2017 - 14:26

In curl the SFTP protocol has been disabled.


The release-6.0 updated with curl and libssh2. Also the yafc added to feeds. So best to do is make a clean flash and try the today's release.

 

Tomorrow, the 6.0-release update build is scheduled for tonight.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.




Also tagged with one or more of these keywords: ET6000

6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users