[main page] [Part I] [Part II] [Part III] [Part NT]

PART: Windows 2000 
General Account Information

WINDOWS 2000 SERVER

  • FTP
  • Logging in with FTP 
  • POP Account
  • JMAIL Component
  • Upload Component
  • Coldfusion / Perl / PHP
  • Database (DSN & DNSLESS)
  • Further Technical Support

FTP

HOW TO UPLOAD/DOWNLOAD YOUR PAGES WITH FTP

1.Connect to the Internet
2.Start Your FTP Program

    If you do not have a Windows FTP program GET IT HERE: (WS-FTP)

http://www.ipswitch.com/Support/year2000/ws_ftp-le.html

Make sure you use the 32bit version of WS_FTP if you are connecting to the Internet via a 32bit winsock and likewise for 16 bits.

    FTP Programs For Macintosh (We recommend Fetch) http://www.dartmouth.edu/pages/softdev/fetch.html

You may also need a program to unzip files you download - GET IT HERE: (WinZIP)

http://www.winzip.com/download.cgi

3.Enter in the following information:

   Host Name = ftp.domain.com
   User Name = yourdomain
   Password =  As Requested

4.Once connected you will see two directories:

   Left Side - your LOCAL (Hard Drive) Files
   Right Side - your files on OUR server

5.To transfer(PUT) your files on our server from yours select the files on the left and then click on the arrow pointing to the remote machine.

6.To GET your files to your computer select the files on the right and then click on the arrow pointing to the local machine.

7.To create a directory; click on the make directory button (MkDir).

8.To delete a file (careful); click on the Delete button.

The default filenames are:
index.html, index.htm, default.htm, default.asp, index.asp, index.wml, index.cfm etc


POP Account 

HOW TO CONFIGURE YOUR POP3 MAIL CLIENTS (http://www.yourdomain.com:8383)
Whatever mail client you use, and there are a lot of them, there is some basic information that will remain the same.

There is a server configuration section (IE, Netscape, Eudora, Exchange, Outlook...) that includes:
   1)Outgoing Mail (SMTP) Server : mail.yourdomain.com or smtp.YourIsp.net
   2)Incoming Mail (POP3) Server : mail.yourdomain.com
   3)POP3 Username: root@yourdomain.com
     For Eudora/Netscape Mail the username may: root (dedicated IP) or
     root&yourdomain
   4)POP3 Password: Your Password

You can manage POP3, Aliasing or Mailinglist Email when you log on your account using root users, including: Email Filter, Web Based Email permission,  Quota, Vacation reply etc.


JMail Component. (do not use CDONT componet, it's disable by our IMAIL Server Configuration)

Pretend you have a form with the following syntax:

<html>
<head>
<title>Contact Form</title>
</head>
<body>
<form method="post" action="
mailform.asp">

Nama : <input type="text" size="25" name="name"><br>
Email : <input type="text" size="25" name="email"><br>
To     : <input type="text" size="25" name="recipient"><br>

Comment:
<textarea name="body" cols="40" rows="15" wrap="PHYSICAL">
</textarea>

<input type="submit" value=" Submit ">
</form>
</body>

The following basic format for your mailform.asp will be as follow:

<html>
<head>
<title>Confirmation</title>
</head>
<body>
<%

Set JMail = Server.CreateObject("JMail.SMTPMail")


' This is
your SMTP server
JMail.ServerAddress = "mail.yourdomain.com:25"

' This is me....
JMail.Sender = "yourname@yourdomain"
JMail.Subject = "Here you go..."


' Get the recipients mailbox from a form (note the lack of a equal sign).
JMail.AddRecipient Request.Form("recipient")

JMail.Priority = 1

JMail.body = "The form was filled out with the following values:" & vbcrlf

Dim el
'add every form element and its value to the email
FOR EACH el IN Request.Form
JMail.appendtext( el & ": " & Request.form(el) & vbcrlf )
NEXT


' Send it...
JMail.Execute

%>
<center>
An e-mail has been sent to mailbox (<%=request.form("rec
ipient")%>).
</center>
</body>
</html>

For Further Instruction using JMail, please contact support or here


UPLOAD Component

Create a simple Upload Form, ex:

<HTML>
<BODY BGCOLOR="white">

<H1>Upload : Sample</H1>
<HR>

<FORM METHOD="POST" ACTION="
upload.asp" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="FILE1" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE2" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE3" SIZE="50"><BR>
<INPUT TYPE="FILE" NAME="FILE4" SIZE="50"><BR>
<INPUT TYPE="SUBMIT" VALUE="Upload">
</FORM>

</BODY>
</HTML>

Upload Script upload.asp as follow:

<HTML>
<BODY BGCOLOR="white">

<H1>Upload : Sample</H1>
<HR>

<%

Dim myUpload
Dim intCount

' Object creation
' ***************

Set myUpload = Server.CreateObject("aspSmartUpload.SmartUpload")

' Upload
' ******

myUpload.Upload

' Save the files with their original names in a virtual path of the web server
' ****************************************************************************

intCount = myUpload.Save("/YourVirtualDir/Upload")

' Display the number of files uploaded
' ************************************

Response.Write(intCount & " file(s) uploaded.")
%>
</BODY>
</HTML>

Note: Contact support to give a directory permission to upload your files, if you find error message like "can not save file(s)"


COLDFUSION AND PERL 

Please contact Support  to activate your Perl/CGI or Coldfusion executable
ActivePerl 5.6 Path: c:\perl\bin\perl.exe
Perl Files should use: .pl or .cgi extention under your cgi-bin directory
How to send email using ActivePerl?

ColdFusion files should use: .cfm extention
PHP files should use: .php extention

Resources:
http://www.activestate.com
http://www.coldfusion.com
http://www.php.net

Contact support if you need to installed your own Coldfusion's custom tag.


DATABASE (DSN and DSNless)

Upload your Access DB under your /data directory, then contact Support if you need DSN for your database. 

DSNLess Method:

Create a connection object like usual:

Dim objConn
Set objConn = Server.CreateObject("ADODB.Connection")

Then, instead of using a connection string like DSN=pubs or
DRIVER={MS SQL-Server};UID=sa;PWD=;DATABASE=pubs;SERVER=myMachine, use the following connection string:


objConn.ConnectionString = "Provider=ProviderName; Data Source=DatabaseSource; Initial Catalog=DatabaseName; User ID=UserID; Password=Password"

For MS SQL Server Database:
ProviderName = SQLOLEDB
Data Source = Server Name
Initial Catalog = Database Name

For Access Database:
ProviderName = Microsoft.Jet.OLEDB.4.0
Data Source = Full path to .MDB file


Common Account Configuration

For common dan detail configuration to use your account also included in our welcome email to all our new customers, if you lost it - you can ask our support to resend your welcome message.  

If you have any account configurations question please contact support@javanic.com


[home]  [hosting]  [reseller]  [support]  [contact]  [order]


http://www.javanic.com
Jakarta, Indonesia