Navigation: DocScript Reference > DocScript Functions >

FTP Functions

 

 

 

 

Function

Description

[FTP.Open](hostname, portno, username, password, startfolder)

Opens an FTP site.

 

Parameter(s)

hostname – The FTP address or IP address.

portno – The FTP site port no.

username – The username of the FTP site.

password – The password of the FTP site.

startfolder – Folder the FTP site will connect to. If left blank, the root folder will be used.

[FTP.Upload](filename, uploadfolderpath, thrownexception)

Upload a file to an FTP site.

 

Parameter(s)

filename – The name of the file to upload.

uploadfolderpath – The target FTP folder path.

thrownexception – Stores the exception if there is an error uploading to the FTP site.

[FTP.Close]()

Closes the FTP site.

 

 

 

 

Copyright © 2024 Portford Solutions Group, Inc.