For continued disscussion on this topic : store files on FTP
Wraiden
08-15-2000, 09:27 PM
how can i store javascript generatet text-files on a FTP-server with a javascript ?
gzazJim
08-15-2000, 09:39 PM
Wraiden, welcome to the forum.
If you could possibly post some code, or a URL it would be very helpful to us. Also, how are you planning to generate the text files, and if I may ask, why?
Thia may be more of a CGI/Perl problem than a JavaScript question... JavaScript is client-side - ie; it runs on the user's machine and hence has very limited writing abilities. Perl/CGI runs (mostly) Server-side, so that may be more of what you're looking for.
Thanks,
Jim
Wraiden
08-15-2000, 09:44 PM
generating the file :
i think i do it with the write command in a hidden form text box ...
gzazJim
08-15-2000, 09:50 PM
Wraiden,
What kind of information are you looking to write to a text-box? In order to process information and write information to a file, you'll have to use CGI/Perl. JavaScript isn't really what you'll need to use.
Is this validation you're trying to do or something else? We'll need some more information if we're to help.
Thanks,
Jim
Wraiden
08-15-2000, 10:00 PM
ok
i only need a way to store the text of a form textbox to a file on a ftp server
all other things i can do by my self ...
isn't ther a javascript command that let the user safe a file to a URL ?
[Edited by gzazJim on 08-15-2000 at 04:10 PM]
gzazJim
08-15-2000, 10:13 PM
Wraiden,
I edited your three posts down into one. Please don't multi-post responses :)
As far as writing a form's data to a FTP area - for that you will need to get into some CGI and Perl programming.
I'll move this post into the CGI Forum as you'll get better responses there.
Jim
Wraiden
08-15-2000, 10:15 PM
thx jim
gzazJim
08-15-2000, 10:20 PM
Wraiden,
No problem!
Once again - do you have any code you could post for us to look at, or a URL for the website? If we can see what you're trying to do, we can be of further assistance.
Thanks,
Jim
big_wreck
08-15-2000, 10:25 PM
Wraiden,
This is accomplished much nicer with a CGI/Perl script. You should check out http://www.cgi-resources.com .
PS I dont really think its realistic with Javascript.
PPS. Another, and cooler, solution is to use PHP and MySQL to store all your info into a database. Check out http://www.php.net
If you need any more info after checking these out let me know. Hopefully someone like Vinny can come along and address the Javascript - to - flatfile issue.
Wraiden
08-15-2000, 10:27 PM
sorry no url and also no code ...
big_wreck
08-15-2000, 10:40 PM
(noURL + noCode) = noRealHelp ....
usually ...
gzazJim
08-16-2000, 05:46 PM
Wraiden,
Take a look at the following post, a similar question was brought up there and your question may be answered.
http://www.webxpertz.net/forums/showthread.php?postid=4593#post4593
Good Luck,
Jim
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.