问题
I am programming a pc managment website but I want to change the style of the ftp:// It is included in a iframe but when I want to change something with jQuery I get an cross-domain error: SecurityError: Blocked a frame with origin "http:/ /192.168.0.114:8010" from accessing a cross-origin frame. The ftp is included with ftp:// 192.168.0.114:21'
I hope that it is possible to change the style because it doesn't fit with the rest of the site. I am using the IIS7 ftp client of Windows 7
回答1:
Unfortunately, due to security restrictions, this is unlikely to be possible. If the ftp folder is in a publicly accessible folder (facing the internet), you could make a page like this to show the contents and edit that page to make it fit in with your website. Note this uses PHP not just HTML!
回答2:
Sorry for the late answer but after a long time of recoding this http://sourceforge.net/projects/phpwebftp/ I could use it in my website. Its really easy to use and advanced. The only downside is that it's really old.
来源:https://stackoverflow.com/questions/26263767/change-ftp-css-style