View: 6682|Reply: 1

Orange Pi PC2 Ubuntu XFCE - Strange behavior when performing sftp download ...

[Copy link]

3

threads

41

posts

469

credits

Intermediate member

Rank: 3Rank: 3

credits
469
Published in 2017-1-8 02:20:49 | Show all floors |Read mode
I had an Orange Pi PC2, and had imaged with Ubuntu XFCE [downloaded from Google Drive]


I had a python script that will continuously download some mp3 files from a ftp server ...

ftp.retrbinary('RETR ' + filename, fhandle.write)




If the script was run from the sdcard, and the files were stored in the sdcard, after several downloads, all mp3 files thereafter were corrupted,
and playing the same song, even though file size were different ..


However if the scipt and downloaded files was placed/stoed in a thumb drive [mounted on a sdx drive], all mp3 files are good.


I prefer to run from download scripts from sdcard, for the downloading were many many times faster [then if the downloaded files were stored in sdx drive]...


Is it some form of piracy protection feature in H5?


Anyone observed what I had observed?


10

threads

35

posts

305

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
305
Published in 2017-1-14 11:56:29 | Show all floors
Hi, friends:
  I am main maintainer of OrangePi PC2, Can you offer your scripts to me. I will do some test.

Good Luck

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list