LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Have VSFTPD create sub-directories (https://www.linuxquestions.org/questions/linux-software-2/have-vsftpd-create-sub-directories-4175676922/)

evansmb 06-11-2020 04:30 PM

Have VSFTPD create sub-directories
 
I'm trying to setup VSFTPD to backup switch configs. It seems to work if i program to switch to write the config to the ftp root directory. But if we send a path that doesn't exist on the server, it doesn't create the sub-directories and the file transfer fails. I'm not seeing any options the seem like they would work in the config file. Is there away to get the ftp server to automatically create these sub-directories?



I'm using RHEL 7.6

TB0ne 06-11-2020 04:50 PM

Quote:

Originally Posted by evansmb (Post 6133252)
I'm trying to setup VSFTPD to backup switch configs. It seems to work if i program to switch to write the config to the ftp root directory. But if we send a path that doesn't exist on the server, it doesn't create the sub-directories and the file transfer fails. I'm not seeing any options the seem like they would work in the config file. Is there away to get the ftp server to automatically create these sub-directories?

I'm using RHEL 7.6

No, that's not something the server does; the client needs to issue the commands to make directories/transfer files/delete things/etc. There should be instructions on the Red Hat knowledgebase for vsftpd setup and Red Hat support can point you to them.


All times are GMT -5. The time now is 09:11 AM.