Prepros 6 SFTP directory uploaded to wrong path

471 Views Asked by At

I have a directory upload issue in Prepros 6.1.1, with SFTP only.

This may be related to that question: Folders uploading in Prepros

The file upload is OK, but Prepros will create directories in the wrong path!

Example

I want to upload new-directory/new-file to /home/myuser/www/:

  • If new-directory exists on the server ; no problem, the file is uploaded in there.
  • If I upload a new file in a new directory ;
    1. Prepros will create the directory in /home/myuser/home/myuser/www/new-directory,
    2. then try to upload the file to /home/myuser/www/new-directory which doesn't exists…

Does anyone have found a workaround?

1

There are 1 best solutions below

1
Dev_Gabriel On

How is your FTP config?

Open FTP Settings and on Remote Path yout insert all the path to the directory you want. For example:

I want to upload a file to my test folder, then, on the remote path field, i will insert

/public_html/test/

This way all the files will be uploaded to this directory