Ask Your Question

Can we read local file from Sagecell

asked 2017-10-27 09:01:43 -0600

Niyamabrata gravatar image

Can we read local file from Sagecell? I work with SageMathCell embedded on blog.

edit retag flag offensive close merge delete


Hmm, that is a good question. I'd assume not unless you can read from the internet - some Sage functions allow URLs in them. But it wouldn't have access to your file system.

kcrisman gravatar imagekcrisman ( 2017-10-27 11:37:47 -0600 )edit

Thank you...

Niyamabrata gravatar imageNiyamabrata ( 2017-10-27 12:17:30 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-10-28 05:18:53 -0600

tmonteil gravatar image

No, you can not read a local file from Sagecell. Sagecell is like any webserver, imagine the security hole if an arbitrary webserver you connect to with a webbrowser could read any file on your hard disk ! If you want to let Sagecell access some file, you have to serve it publically, this works well, see the answer of your other question.

edit flag offensive delete link more


Thanks a lot...

Niyamabrata gravatar imageNiyamabrata ( 2017-10-28 05:48:51 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-10-27 09:01:43 -0600

Seen: 98 times

Last updated: Oct 28 '17