Uploading through the Windows Explorer Shell Extension


XFile enables upload through the Windows Explorer Shell Extension, meaning that you can upload any file on your machine directly from its location. You can customize uploading through the Shell Extension by resetting one or more parameters.

Exercise: Using the Windows Explorer Shell Extension

To upload a file through the Windows Explorer Shell Extension,


Customizing Uploads through the Shell Extension

You can customize uploads through the Shell Extension by resetting one or more parameters in the file SAXFile.inf. SAXFile.inf is located in SAXFile.cab.

To customize Shell Extension parameters, modify SAXFile.inf, add SAXFShEx.dll to SAXFile.cab, and sign SAXFile.cab.

The Shell Extension parameters you can customize are,

To set the Shell Extension parameters,

  1. Open SAXFile.inf (included in SAXFile.cab).

  2. Find the following section.
    [AddSoftwareRegistry]
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","SoftwareName",,"XFile Shell Extension"
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","SoftwareShortName",,"SAXFile"
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","UploadContextMenuText",,"&Upload Files Using SAXFile..."
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","UploadContextMenuHelp",,"Upload selected files using SAXFile"
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","CompanyName",,"SoftArtisans"
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","ShowURLDialog",0x00010001,0x00000001
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","DefaultURL",,"http://localhost/safileupsamples/UploadSamples/Simple/formresp.asp"
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","DefaultUserName",,""
              HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","DefaultPassword",,""
            
  3. For each parameter you would like to change, replace the default value with another value. For example, if you want to change the menu option XFile displays when the user uploads a file, go to
    HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","UploadContextMenuText",,"&Upload Files Using SAXFile..."
    and replace the string "&Upload Files Using SAXFile..." with your own text.

  4. Add SAXFShEx.dll to SAXFile.cab. SAXFShEx.dll is located in the XFile installation directory (usually, c:\program files\softartisans\XFile).

  5. Sign SAXFile.cab.


Copyright © 2010 SoftArtisans, Inc. All rights reserved.