Skip to main content

FTP/SFTP

Setting up access to FTP Server


Follow steps:

  1. Go to the ”Settings” tab.
  2. Make sure the ”Storage API” is set to ”Http”.
  3. Select the desired FTP / SFTP connection protocol. Ask your server administator
    which of these protocols you are using, if you do not know. Fill all fields related to the
    selected protocol.
  4. Fill in all the required fields for FTP / SFTP.
  5. Download base link (DBL) - base link, it is necessary for the client to work, your files
    will be downloaded by the client according to the following rule: DBL + ”Definition
    folder” (DF) + file name. For example, DBL = ”https://example.com/patches/” and
    DF = ”win”. Patcher Client will download the files for the current definition at the
    following link: ”https://example.com/patches/win/”. Keep in mind that this path
    should be accessible to all Internet users via a direct link.
  6. After all the fields have been filled out, click the ”Test” button. If you received
    the message ”Congratulations!” then the system is ready to go. If you get an error
    message check the console window there will be detailed information about the error.

FTP


image-1589014592969.png

  • FTP Protocol - data transfer protocol, select FTP.
  • FTP Domain - enter the domain name of your ftp server.

    Do not use ”/” in the end of this field.

  • FTP Port - connection port, for FTP by default 21.
  • FTP User and FTP Password - your credentials.
  • FTP Home Directory - enter the path to the folder for which the rights to write files and create folders are assigned.

    If the root folder is for this user, leave the field blank.


SFTP


image-1589016093348.png

  • FTP Protocol - data transfer protocol, select FTP.
  • FTP Domain - enter the domain name of your ftp server.

    Do not use ”/” in the end of this field.

  • FTP Port - connection port, for FTP by default 21.
  • FTP User and FTP Password - your credentials.
  • FTP Home Directory - enter the path to the folder for which the rights to write files and create folders are assigned.

    If the root folder is for this user, leave the field blank.

  • Open SSH key - open ssh key for ssh connection.
  • Key file passphrase - passphrase of open ssh key.

Example

I want to upload sgpatcher files to "patches" folder on the server. In my ftp manager I see "www/example.com/patches". Website "https://example.com/" follows to "www/example.com" folder. What should I write in the fields?

You should set "Home Directory" to "www/example.com/patches/". And set "Download base link" to "https://example.com/patches/".