## Getting more AFS space

By default, you only have 4 MB of space. To get more:

2. Click “Profile” at the top right (next to your email).
3. Click “Manage your account” in the middle of the screen.
4. Click “Manage Email Quota” on the left. It’ll take a little while to load.
5. Click the “Increase my UNIX Quota” button.

Now you should have 1 GB of space, which should be MORE than enough.

## Accessing your AFS space through an FTP client

Get one:

Once you have a client:

• Server: unixs.cssd.pitt.edu
• Port: 22
• Protocol: SFTP
• Username: your Pitt username, all lowercase (e.g. I enter jfb42)
• Save this configuration so you don’t have to type it in every time
2. Once it’s logged in:
3. You can edit remote files by right clicking the remote file and clicking something like “edit locally” or whatever
• WinSCP will auto-upload the file whenever you save it, but FileZilla will force you to click “yes” in a dialog box

## We need to go faster (integrating FTP into your editor)

You can get plugins for your code editor or IDE. For the popular ones:

I have directions for Sublime but since I don’t use Atom or Notepad++ I can’t help with those… the procedure should be similar tho.

### Setting up Sublime SFTP

1. ctrl+shift+P (or cmd+shift+P) to open the command pane
• type “install package” and hit enter
• when the list of packages appears, type “SFTP” and choose the one just named “SFTP”
• once it installs, yay
2. make a folder on your computer which you will sync with your Pitt private folder
3. either drag that folder into sublime or do “Project > Add Folder to Project” and add that folder
4. right-click the folder in the folder pane in Sublime and do “SFTP -> Map to Remote…”
5. for the configuration, this is what I did (but obviously fill in the username with YOUR username):
{
"type": "sftp",

// this makes it auto-upload when you save a file
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_sync": true,

"host": "thoth.cs.pitt.edu",
// duh

// vvvvvvvvv HEY LOOK AT THIS vvvvvvvvvvvvvvvvvvvvvvv
"ignore_regexes": [
"\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
"\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini",
"^\\~\\\$*"
],

"connect_timeout": 30
}


### Setting the home folder

The READ_INSTRUCTIONS_BELOW in the config file above should be the path to your private folder. It works like this:

If your username is abc123 then your private folder will be /afs/pitt.edu/home/a/b/abc123/private/

For example, mine is /afs/pitt.edu/home/j/f/jfb42/private.

If this isn’t set right, it’ll give some error when you try to connect.

### Connecting

Finally, you can right click the folder in the pane and do “SFTP > Sync Both Directions…” and it’ll automatically download anything from your AFS space.

Whenever you save a file in this folder, it’ll automatically upload it to your AFS space! (It’ll ask for your password once and then it’ll remember it for a while.)