search for: server_path

Displaying 2 results from an estimated 2 matches for "server_path".

2006 Apr 07
1
Upload corrupts images. Any ideas why?
...ed a small text file without any problems. Everything is running on my laptop, WEBrick is the server. Code: *********** begin @filename = @params[''NewFile''].original_filename @filename.gsub!(/[^A-Za-z0-9._]/, '''') File.open(@server_path + @filename, "w") { |f| f.write(@params[''NewFile''].read) } rescue @error_number = ERROR_NO_PERMISSIONS end *********** Any ideas? Sergei Serdyuk Red Leaf Software LLC http://www.redleafsoft.com -- Posted via http://www.ruby-forum.com/.
1998 Aug 07
4
SMB printing server problem... HELP ME !!!
...Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> # # Modified for Debian Linux by Ian A. Murdock <imurdock@shell.portal.com> # # Modified for RHS Linux by Marc Ewing <marc@redhat.com> # # <service_name> <sock_type> <proto> <flags> <user> <server_path> <args> # # Echo, discard, daytime, and chargen are used primarily for testing. # # To re-read this file after changes, just do a 'killall -HUP inetd' # #echo stream tcp nowait root internal #echo dgram udp wait root internal #discard stream tcp...