show / hide menu

SaveFile

This function is used to save a file from a file upload control to a specified network path.

Syntax:

SaveFile(FileUpload, NetworkPath)

Description:


The SaveFile function saves the file selected using a file upload control to the provided network path.

Arguments:

FileUpload

  • Argument Type: Control
  • Is Optional: False
  • Description: The name of the file upload control containing the file to be saved.

NetworkPath

  • Argument Type: String
  • Is Optional: False
  • Description: The network path to which the file should be saved.

Example:

SaveFile(FileUpload1,”\\SYSAFQABUILD01\Users\nihad.nizar\Documents\Shared”)

In this example, the function saves the file selected using the FileUpload1 control to the network path “\\SYSAFQABUILD01\Users\nihad.nizar\Documents\Shared “.

Figure1: Rule

Figure2: Preview

Usage:

The SaveFile function simplifies the process of saving files uploaded by users to a specified network location. This can be useful for applications that require users to upload files for processing or storage.