How to Submit Your Homework?

Actually, there are many different solutions to accomplish this task:
  1. Mount your working directory on STU.ipv6.club.tw as a "network drive" of your PC.
  2. Send the file back to your mailbox.
  3. SCP

Before you submit your homework, make sure it is saved with the correct file name. The rules are:

  1. Save your homework with the filename as "StuId_HomeworkNumber.cpp" (e.g. 101321011_05.cpp) under your home directory.
  2. Unix is case-sensitive, just like C++ language. Therefore, "hw.CPP" and "hw.cpp" will be regarded as two different files in Unix. Try not to created files with confusing file names.

Network Drive

  1. With the Internet, it is quite easy for you to set up your own storage and share it as a network drive with your friends. Our STU.ipv6.club.tw server, is already configured to provide this service to students inside the campus. The following steps will show you how to connect to this service.
  2. Suppose you are running Windows 7. Click Windows Start Button and type CMD then press Enter key.
    Windows Start Button
  3. In the command window, type "net use * \\STU.ipv6.club.tw\your_directory_name * /user:your_login_name" and press Enter.
    Command-line instruction
    Supply the password for your network drive. This should have been mailed to you with the subject "Password of Network Drive on STU.ipv6.club.tw".
  4. If you supply the correct password, Windows will report that the command completed successfully and the network drive is mapped to a drive letter (W: in this example, as shown in the figure below).
    Mapped
  5. Go to your File Explorer, you will see that you can access files on the network drive as your local hard disk.
  6. You may type the filename "W:\100321015_01.cpp" when you upload the file to Moodle, or drag the file icon to upload it.
    Upload to Moodle

Mailbox

  1. If you are outside the campus, and have not figure out how to use the SSL/VPN service, here is a simple alternative.
  2. Log in to STU.ipv6.club.tw via PuTTY.
  3. Run the command "sendback 100321015_01.cpp" to send the file to your NCNU mailbox.
  4. From your mailbox, you can certainly save the attached file to your local hard disk and do whatever you want.
Reference: