Why I don’t see the list of directories in my FTP site in IIS?

I created an FTP site. I set anonymous access to true, and I enabled anonymous authentication.

I checked it using Windows Explorer on my server and I could see the list of my directories using this addresses:

ftp://host:port/
ftp://ip:port/

However, I can’t see the content of my FTP in FileZilla. And here is the log:

Status: Resolving address of DOMAIN
Status: Connecting to IP:PORT...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/" is current directory.
Command:    TYPE I
Response:   200 Type set to I.
Command:    PASV
Response:   227 Entering Passive Mode (...).
Command:    LIST
Response:   150 Opening BINARY mode data connection.
Error:  Connection timed out after 20 seconds of inactivity
Error:  Failed to retrieve directory listing
Status: Disconnected from server
Status: Resolving address of nefcanto.ir
Status: Connecting to IP:PORT...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Logged in
Status: Retrieving directory listing...
Command:    PWD
Response:   257 "/" is current directory.
Command:    TYPE I
Response:   200 Type set to I.
Command:    PASV
Response:   227 Entering Passive Mode (...).
Command:    LIST
Response:   150 Opening BINARY mode data connection.
Error:  Connection timed out after 20 seconds of inactivity
Error:  Failed to retrieve directory listing

I’m stuck at this point. What is wrong?

I use Windows Server 2012 R2 and IIS 8.

Correct permissions for WordPress directories and files on Ubuntu 20.04 with Apache

My client’s website is hosted at Digital Ocean and is running Ubuntu 20.04 with Apache. I have WordPress installed and running with some issues. The ability to upload or update plugins and themes is not working because of permission issues. I have been following the official WordPress security hardening article, but I believe some of the changes I have applied have caused the permission issues.

I have detailed all of the current permission settings below for reference. The user for this account is callkneehill.

Root WordPress directory (callkneehill.ca) and files found in /var/www:

  • 755
  • 644
  • Owner and group are callkneehill

wp-admin and wp-include directories and files (recursively applied):

  • 755
  • 644
  • Owner and group are callkneehill

wp-content directories and files (recursively applied):

  • 755
  • 644
  • Owner is callkneehill
  • Group is www-data

plugins and theme directories and files (recursively applied):

  • 755
  • 644
  • Owner and group is callkneehill

With these permissions, WordPress informs me that FTP/SFTP needs to be used to upload/update plugins and themes. Before working with the hardening article, www-data was the sole owner and group for permissions within the WordPress root directory.

If I use www-data on the plugins and themes directory, the same FTP/SFTP notice is displayed when trying to upload or update.

How do I go about configuring the user and group permissions to provide the security hardening with the ability to upload/update within WordPress?

tortoisesvn – How do I pull in new directories when doing SVN update?

I am working on a project from multiple sites. At site-1 I added a new subdirectory (actually a new “Project” within a Visual Studio “Solution”) and Added/checked-in that to SVN (using TortoiseSVN).

At site-2 I did an Update (also Tortoise) on my working directory, but that did not pull in the new subdirectory. It did pull in new .exe’s to a debug folder though, perhaps because that directory already existed??

Using the repro browser, I see the directory and code; and I can create a whole new checkout to a new top level directory. But why doesn’t an Update on the old directory pull in the new folder and files? Any thoughts on what I’m doing wrong

Where to get/ buy list of directories? Submission help?

Where do you suggest to buy or find new directories?
Perhaps I can buy them at decent price?
Any users (and where) I can find for help with submission?

Article Writing and Submission in Top 20 Article Directories

After massive response and successful services in past on various other forums, I am here again with packages for Article Writing and Submission in Top 20 directories with the procedure that will help you to rank your websites higher in search engines.
SEMrush

Package1:

5 Articles Writing + Spinning + Submission in Top 20 Article Directories = 55 USD

Package2:

10 Articles Writing + Spinning + Submission in Top 20 Article Directories = 100 USD

Package3:

20 Articles Writing + Spinning + Submission in Top 20 Article Directories = 180 USD

==========================
Required Details:

1 URL +1 keyword(anchor) for each article (you may provide multiple anchors text (keywords) for the same URL for rotation )

Your email address for the submission report.

Edit:
Payments will be accepted through paypal

 

How to rsync only specific directories and all their subdirectories and files?

Let’s say I have something like

/path/to/dir1/[...]
/and/path/to/dir2/[...]

on

/

And I’d only like to rsync those two and everything they contain to

/backup/

So after rsync I have a copy of them in

/backup/path/to/dir1/[...]
/backup/and/path/to/dir2/[...]

I’ve played around with –include-from=/etc/rsync-backup.conf, –files-from==/etc/rsync-backup.conf iterated through all “include file” layouts, I could imagine, including all those ‘‘ and ‘**’ variants, with ‘+’ in front and without, but I failed miserably.

So: What needs to be in /etc/rsync-backup.conf and how does rsync have to be called to only backup /path/to/dir1/[…] and /and/path/to/dir2/[…]?

updating – How can I update without losing some folders/files from the core and vendor directories?

I recently saw in the status report that I have a security update. I have the version: 9-1.4. The update is at: 9-1.5.
I tried to manually update on a local development site and after the update I saw that php mailer is gone. That’s when I remembered that the vendor file had the php mailer library.
My question is when you do an update, how do you know what folders or files are in the folders: core, vendor?
I don’t think a person can remember if two months ago he installed a library I want to mention that php mailer was installed with: composer.

linux – Efficient way of determining whether 2 directories have ANY difference?

I’d like to recursively compare two directory trees that are expected to be identical, but I don’t want a full comparison which would take forever. I’d like to do an efficient comparison so that as soon as 1 difference is detected, the command stops and returns, and tell me which file was different.

What I consider to be a difference:

  • two files have different content (different timestamps doesn’t matter)
  • a file was found in one directory but not the other (at the exact same path, of course)

Notes:

  • I don’t need to know the actual differences within the file, just the filepath is enough
  • I tried diff 3.7 on Ubuntu 20.04, it doesn’t have a “stop on difference” option that I could see
  • The files are a mix of text and binary

Shopping Directories

Using a shopping directory can make the difference in terms of time saving and economic experience for consumers. Shopping articles and stores directory, offering categorized listings of shops products, services. Directory categories contain relevant business listings with detailed presentation, descriptions and contact details. What an excellent way for merchants to advertise their business and increase their SEO backlinks. I can propose two high quality shopping-business directories:
All…

Shopping Directories

SSH git pull only selected directories & files to deployment server

I’m at a point in my git education where I’ve refined my .gitignore file such that when I push from my local development machine to a remote repository (which happens to be on Azure, but it could just as easily be on github), the folders and files in the repo are precisely how I want them to be. That is:

wp-content/plugins/my-custom-plugins
wp-content/themes/my-custom-theme

…and that’s basically it. I don’t want the wp-config in the mix, or any of the stock WP folders like wp-includes or wp-admin. No cache, no wp-content/uploads, etc.

Enter my question: When I SSH into the Linux web server where my website is hosted, how do I perform a git pull origin dev so that git doesn’t delete my entire WordPress site, replacing it with only the folders/files in the repo?

The first time I tried a straight git pull origin dev it aborted because of an an error from an untracked file. I did something with the file, tried again, and this time git started deleting files within the wp-includes. wp-admin, and wp-content folders.

Since this is the development server, I can afford to play around with it and get it wrong, because I can always FTP the website back to the server. FTP’ing is very time consuming, so I don’t want to get this wrong too many times. And when it comes time to do it on the production server, I cannot get it wrong even once.