General Settings - File Viewer & Editor
Previous  Top  Next

·File Viewer Settings specify which application is started when the View command is selected from the menu. When the user selects the View command for the remote file, the file is first downloaded and then opened with the matching application.  
·File Editor Settings specify which application is started when the Edit command is selected from the menu. When the user selects the Edit command for the remote file, the file is first downloaded and then opened with the matching application. After editing is complete, the file is uploaded.  


Rules

The Viewer and Editor settings are a list of rules that connect the filename extension and the application used to open it. The rules consist of

1.Filename Mask - List of filename extensions used for matching rule criteria (like *.exe and *.txt)  
2.Action - What is done when a matching extension is found:  

·Open file using Windows associations (normally applications register extensions when they are installed. Windows uses these registered extensions to determine what application should be opened to edit each extension).  
·Open the file using the 3D-FTP Text Editor  
·Open the file using a selected application (user can select any application name)  
·Execute the file  
 
In other words, 3D-FTP looks through each rule to see if the rule Filename Mask matches the filename the user is going to View or Edit. And when a match is found, it takes proper action. For example, the rules could say:  
 
When user wants to View *.txt file -> Open file with Notepad  
When user wants to View *.html file -> Open file with Internet Explorer  
When user wants to Edit *.html file -> Open file with 3D-FTP Text Editor  
When user wants to Edit *.doc file -> Open file with Word  
When user wants to Edit *.psd file -> Open file with Photoshop  
 
If none of the rules matches the filename, then default rules are used. If there is more than one matching rule, the first rule found is used.  
 
 
Filename Mask Examples

The filename mask is one or more wildcard expressions separated with semicolons (;). For example:


Filename Mask
Matches
*.txt
All filenames with .txt extension
*.doc
All filenames with .doc extension
*.htm*
All filenames with .htm .html .htmlx (etc.) extensions
*.lo?
All filenames with .log .lox .loa .loo (etc.) extensions
readme;read.*;*.txt
Filenames like Readme, read.txt, read.log, read.me, filename1.txt, sample2.txt (etc.)


All masks are case insensitive.


Wildcard characters

*    character matches zero or more characters
?    character matches one character

NOTICE! The "?" character does not match zero characters, so *.htm? does not match .html extension.




Related:
File Tab
Mode Tab
Queue Tab
Firewall
Advanced Tab
Other Tab
Sounds Tab
Logs Tab
Antivirus Tab