POP3it Pro

Email downloading made easy.

<- Back to POP3it Pro function list

POP3it_File_Export

Description

This function will export a file from a container to a specified path. POP3it Pro will use the name of the file in the container unless you specify a name with the "SaveAs" parameter.

Return Type
Text
Format
POP3it_File_Export ( Container ; Path ; SaveAs )
Required Parameters
  • Container

    The Container that contains the File you are Exporting.

  • Path

    The Path to the Folder where you want the Exported File.

Optional Parameters
  • SaveAs

    The File Name you want the Exported File to have.

Related Items
POP3it_File_Copy, POP3it_File_Delete, POP3it_File_Exists, POP3it_File_Import, POP3it_File_Move, POP3it_File_Rename, POP3it_File_SelectFileWithDialog, POP3it_File_Size
Examples

Example 1

Code:

POP3it_File_Export( Container ;"c:\\exports\\")

Result:

Exports the file in the "Container" field to "c:\exports\" on Windows.

Example 2

Code:

POP3it_File_Export( Container ;"/exports/")

Result:

Exports the file in the "Container" field to "/exports/" on Mac.

Example 3

Code:

POP3it_File_Export( Container ;"c:\\exports\\";"newexport.txt")

Result:

Exports the file in the "Container" field to "c:\exports\newexport.txt" on Windows.

Example 4

Code:

POP3it_File_Export( Container ;"/exports/";"newexport.txt")

Result:

Exports the file in the "Container" field to "/exports/newexport.txt" on Mac.