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.
To upload a file through the Windows Explorer 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,
SofwareName
"XFile Shell Extension"
SoftwareShortName
"SAXFile"
UploadContextMenuText
"&Upload Files Using SAXFile..."
UploadContextMenuHelp
"Upload selected files using SAXFile"
CompanyName
"SoftArtisans"
ShowURLDialog
ShowURLDialog
is set to 0 (0x00000000), XFile will not display the dialog box
containing URL, User Name, and Password. This dialog box will appear when ShowURLDialog
is set to 1
(0x00000001). Default: [0x00010001],0x00000001
. DO NOT change the first of the two default parameters
(0x00010001). DefaultURL
"http://localhost/safileupsamples/UploadSamples/Simple/formresp.asp"
DefaultUserName
""
DefaultPassword
""
To set the Shell Extension parameters,
[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",,""
HKLM,"SOFTWARE\SoftArtisans\XFile\Parameters","UploadContextMenuText",,"&Upload Files Using SAXFile..."
and replace the string "&Upload Files Using SAXFile..." with your own text.