Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 3332|Reply: 1

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

[Copy link]

1

Threads

37

Posts

403

Credits

Intermediate member

Rank: 3Rank: 3

Credits
403
Post time 2017-1-8 02:20:49 | Show all posts |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
Post time 2017-1-14 11:56:29 | Show all posts
Hi, friends:
  I am main maintainer of OrangePi PC2, Can you offer your scripts to me. I will do some test.

Good Luck

You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-3-4 14:57 GMT+8 , Processed in 0.028645 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list