LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2020, 04:30 PM   #1
evansmb
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
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
 
Old 06-11-2020, 04:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by evansmb View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script to compare folders,Sub-Folders and Sub-Sub-Folders unix_72427 Programming 8 08-08-2012 02:51 PM
Copying files and sub-directories of a directory except the directories named ".abc" sri1025 Linux - General 2 08-24-2010 08:53 AM
CHMOD directories.sub-directories.files zerojosh Linux - Software 2 11-19-2005 03:22 PM
Searching multiple directories and sub directories for a file jeep99899 Linux - Newbie 2 10-13-2005 12:23 PM
creating sub-sub directories dominant Linux - Newbie 13 07-23-2004 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration