How
to transfer files to our server
If
you have Windows:
- If you
access the internet via dialup line, dial in to us now
- Open
an MS-DOS prompt window
- Set the
default disk and directory to where you put the web pages. For example, if
the pages are stored on the D: drive in top-level folder webpages,
enter the following 2 commands:
- D:
- cd
\webpages
- Now enter
the command ftp www.nii.net
- When
it prompts for username and password, enter your username and password
- It will
give you an FTP> prompt, enter the command cd public_html. This sets
it to the directory where your web page files are to be stored on our server.
- If you
enter a dir command, it will list out all files that you have stored
on our server.
- To transfer
a file from your hard drive to our server, use the command: put filename,
where filename is the name of the file.
- Repeat
the put command for each file you want to transfer
- If you
have graphics files (like .jpeg or .gif), you must use the command binary
before doing the put's. When you want to send some more text files,
use the ascii command to return it to text mode.
- You may
use the dir command to see what files have been transferred at any
time
- When
you are all done, use the quit command to exit FTP
Your web
pages are accessed via the url http://www.nii.net/~username, where
username is your username
If
you have a Macintosh:
- Acquire
the graphical FTP program Fetch by clicking here.
- Open
Fetch. A window entitled New Connection will appear.
- In the
Host field, type www.nii.net
- In the
User ID field, enter your username.
- In the
Password field, enter your password.
- In the
Directory field, either enter the directory you want to FTP into, or
leave it blank.
- Press
the OK button.
- A new
window will appear, listing the content of the directory you've FTPed into.
- To upload
a file, either press the Put File button and select the file you want
to upload, or you can drag and drop the file into the Fetch window.
- To download
a file, either press the get file button and enter the URL of the file or
directory you want to download, or you can drag and drop the file out of the
Fetch window.
- If you
are uploading a web page and want it to be accessed at http://www.nii.net/~username,
the files must be placed in the public_html folder.
- If you
are uploading a web page and want ot to be accessed at a domain name you've
registered with the InterNIC, the files must be placed in the docs
folder located inside the public_html folder.