/    Sign up×
Community /Pin to ProfileBookmark

Javascript file writing

Is is possible, using java/javascript, to write a file, such as an html file from the website, on the client end. I have full FTP access, if that matters.
I want to have people be able to type text into a textbox and then click a button, then have it write that file to the web directory. (File type does not matter)

Thanks in advance,
~ Pepe ~

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@AdamBrillMar 01.2003 — No, you can't do that with javascript. You would have to use PHP or some other server side language. It is really easy to write to files with PHP, so if your server supports it, I would just try that.
×

Success!

Help @pepe spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...