C
8: SDK Sample Plug-ins
HAPTER
The FTP Upload sample plug-in
The FTP sample plug-in demonstrates how to customize the Export dialog with an Export Service Provider
that exports images to a remote export destination. The plug-in allows you to upload images directly to an
FTP Server.
Plug-in
The FTP plug-in folder is
files
Info.lua
FtpUploadExportServiceProvider.lua
FtpUploadExportDialogSections.lua
FtpUploadTask.lua
The following steps show how to use the FTP plug-in and guide you through exporting images to an FTP
server.
Bring up the FTP plug-in
1. Use the Plug-in Manager to add the plug-in, found in the Lightroom SDK samples folder:
LR_SDK/Sample Plugins/ftp_upload.lrdevplugin
2. In the Lightroom Library module, make sure you have at least one image available for export, then
choose File > Export to bring up the Export dialog.
3. Use the Export destination list at the top of the Export dialog to select the FTP Upload plug-in:
This loads the FTP plug-in and displays the additional FTP Server section it defines for the Export
dialog.
LR_SDK/Sample Plugins/ftp_upload.lrdevplugin
Information file that describes the plug-in to
Lightroom.
The service definition file.
Defines the initialization routes and customizations for
the Export dialog.
Uploads the images to the FTP Server.
.
The FTP Upload sample plug-in 151