Altera_Forum
Honored Contributor
20 years agoftp and httpd permission
Hi all !
I'm using Cyclone 1c12 eval, NIOS IDE 5.0, Microtronix uClinux kit 1.4. I have an image on uClinux and want to get it back ( download ) to MS Windows. I perform it via the default web page of the board (accessing board IP on Microsoft Internet Explorer). Solution : I added a tag "<img>" into the source code of the default webpage ( file : "/home/httpd/index.html" ) to show the image. ... ukit.jpg added : ../../var/1.bmp (we expect the path is "/var/1.bmp") ... but when I browse it , the path of the image is "http://192.168.1.3/var/1.bmp" (incorrect) !!! where "192.168.1.3" is the IP of the board It means that when the page is browsed , the default folder is "home" and depeding on which protocol (either ftp or http) it will "look at" the appropriate folder. how can i get the correct path of the image (1.bmp) ? in other words , how can i get a file in uclinux from ms windows ? Thanks, OneNet