PDA

View Full Version : Lowercase Folders


sendingcoins
11-12-2013, 10:43 PM
Hi, how to set FlashFXP to lowercase makes folders that are transferred.

Thanks

X3
11-13-2013, 04:37 AM
Welcome to forums.

FlashFXP has a HELP file, please use it. The following content is from there.

The global default can be changed under preferences (F6) / Transfer / Options

Upload / Download / Site to Site

Global
Will use what has been set in global options under preferences (F6) Transfer / Options.

Don’t convert
Leaves file names untouched as per original file.

Lowercase
Converts any filenames that have any uppercasing to lowercase.

Uppercase
Converts any filenames that have any lowercasing to uppercase.

First letter uppercase
This will imply that any filename will start with uppercase and remaining will be lowercase.

sendingcoins
11-13-2013, 08:22 AM
I know, the help file and those options. Enabling these options does not put folders lowercase.

bigstar
11-13-2013, 08:54 AM
The filename case conversion as you've noticed only applies to files.

I am afraid currently there is no option for handling folder names.

sendingcoins
11-13-2013, 09:22 AM
Wow, what a surprise.

I have two FTP servers running (Fedora Linux vsFTPd and Windows Serv-U 14).
vsFTPd, Serv-U, any of the two allows conversions to lowercase.

I thought he could with FlashFxp

Thank you

bigstar
11-13-2013, 10:50 AM
For case-sensitive file-systems having using this feature can introduce a lot of headaches.

While there are a few rare situations where this type of feature can be useful we've decided that for now we will not expand it to folders, of course if there is enough interest for such feature we will add it.

Another thing to consider, say you queue a folder named "HELLO WORLD" to upload to a case-insensitive FTP server with a folder already named "HeLLo WoRlD", since the folder already exists the case of the folder name will not change. Now say you want to transfer the "HeLLo WoRlD" from the case-insensitive FTP server using a site to site transfer to another FTP server which is case-sensitive and this server already has a folder named "HELLO WORLD" what you end up with is two folders "HeLLo WoRlD" the existing folder and a new folder "HELLO WORLD".

If you want to rename a batch of files/folders from their current case to say lowercase I do offer you a solution.

Create a new custom command (Commands > Edit Commands > New Command)

{
RNFR %f
RNTO $LowerCase(%f)
}

Select the desired files/folders from the file listing and then run the command from the command menu.

This command macro isn't recursive and it may or may not work with all FTP servers.

sendingcoins
11-13-2013, 12:38 PM
Sorry my bad English

The command works correctly, but is not practical.

I understand the case it is two folders "HeLLo WoRlD" and the new "HELLO WORLD" folder.

Consider an intermediate implementation.

If not there is a folder called "HeLLo WoRlD" or "HELLO WORLD" or "HELLO WORLD" on the target, then allow the conversion to lowercase or uppercase or capitalization.

Thanks bigstar