You are not logged in.

#1 2023-09-02 13:12:41

Oddwierdo
Member
Registered: 2023-07-29
Posts: 40

Weechat changing download folder?

Sorry i'm too stupid. I managed to get filetransfers working. However whenever i try to change the download location file transfers just wont work so i guess i'm doing somewthing wrong.
Can someone help me out how to actually set the folder there?
Apparently you do it by

xfer.file.download_path

The default for that setting would be

"${weechat_data_dir}/xfer"

however when i try to set it to

"/data/StorageA/Downloads"

filetransfers don't work anymore. What am i doing wrong?

Last edited by Oddwierdo (2023-09-02 13:13:00)

Offline

#2 2023-09-02 14:56:49

sydneyj
Member
From: Texas, US
Registered: 2018-10-20
Posts: 24

Re: Weechat changing download folder?

It's been some years since I used weechat, but, according to my notes, I set the download folder thus: 

 /set xfer.file.download_path <path to folder> 

Offline

#3 2023-09-02 15:09:32

Oddwierdo
Member
Registered: 2023-07-29
Posts: 40

Re: Weechat changing download folder?

That's what i have done but for whatever reason it makes filetransfers impossible (will be cancled when accepting).

Offline

#4 2023-09-02 15:17:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,101

Re: Weechat changing download folder?

stat /data/StorageA/Downloads

Offline

#5 2023-09-02 16:54:46

Oddwierdo
Member
Registered: 2023-07-29
Posts: 40

Re: Weechat changing download folder?

Doesn't work neither. It seems like i can only use folder on my OS drive. Though it doesn't seem to accept my mounted drive for some reason? For example ~/Downloads would work.

Offline

#6 2023-09-02 16:57:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,101

Re: Weechat changing download folder?

stat is inert, but it'll print the permissions of the directory which you should post here, notably wrt your latest remarks.

Offline

#7 2023-09-02 17:27:17

Oddwierdo
Member
Registered: 2023-07-29
Posts: 40

Re: Weechat changing download folder?

Output was 

 File:  /data/StorageA/Downloads
Size: 8192            Blocks: 16         EA Block: 4096   directory
Device: 8/34     Inode: 140917      links: 1
Access: (0777/drwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)

Offline

#8 2023-09-02 19:48:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,101

Re: Weechat changing download folder?

So the permissions aren't the problem.
Sanity check

touch /data/StorageA/Downloads/foo

works?

If Weechat has some weird restriction to your $HOME, you could either symlink or bind-mount the /data/StorageA/Downloads directory somewhere there.
https://man.archlinux.org/man/core/util … _operation

But if it doesn't allow you to cross filesystems, you're kinda screwed.

Offline

#9 2023-09-02 23:07:29

Oddwierdo
Member
Registered: 2023-07-29
Posts: 40

Re: Weechat changing download folder?

yup touch works, file is created without issues. Think i'll try symlinking it or keep using Hexchat instead (which works).

Offline

Board footer

Powered by FluxBB