File Transfer

WooCart runs WebDav, an alternative secure protocol to SFTP and (unsecured) FTP. 

WebDav has two main benefits over SFTP/FTP: files cannot be overwritten because they are locked when someone is editing them, and faster transfer.

Warning: we strongly advise against editing files directly on live stores

It's very simple to crash the store this way and lose access to it. The only way to fix the store after that would be with WP-CLI. We recommend editing files with Theme or Plugin editors. This way, your file changes have to go through WordPress checks that will prevent saving if an error is found.

We also recommend you use WebDav only on staging stores. That way, if something goes wrong, it does not impact your live store.

Once you're finished with the changes, review the staging store, then Publish to Live.

Using WebDav

You get the URL (it does not open in the browser), username, and password under the Settings tab that you can then use with your client or the command line. Port is the default for HTTPS, 443.

WebDav Desktop Clients

In most cases, you can run the same client as SFTP/FTP. We recommend Cyberduck for Windows and macOS. You can choose WebDav from the dropdown menu for connections. 

On Linux, you have to use davs://  instead of https://.

CLI tools for advanced users

For other uses cases, you can use Rclone to sync data to the store or use one of its proxies. In all cases, you need to configure new WebDAV remote as described in https://rclone.org/webdav/. The following are a few examples of how one can use configured remote to start different services.

RClone FTP

1. Create store config with  rclone config selecting webdav as protocol and name as woocart.

2. Run rclone serve ftp woocart: --user admin --pass secret

3. Connect to the address provided by the command. 

RClone SFTP

1. Create store config with rclone config selecting webdav as protocol and name as woocart.

2. Run rclone serve sftp woocart: --user admin --pass secret;

3. Connect to the address provided by the command. 

RClone UI

1. Create store config with rclone config selecting webdav as protocol and name as woocart.

2. Run clone rcd --rc-web-gui --rc-user admin --rc-pass secret ;

3. Connect to the address provided by the command. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us