Hi Support,
Can you please help me create a script to download a file from FTP to a specific folder in C: Drive in Endpoint?
Regards,
Hi Support,
Can you please help me create a script to download a file from FTP to a specific folder in C: Drive in Endpoint?
Regards,
Hi @alfie013
Please refer the attached JSON file to download the file from FTP to a specific folder in C: Drive.
Input parameter:
HOST = ‘8.8.1.1’ #Provide Your FTP Server Address.
DIRN = ‘New folder/’ #Provide the Path of the File to be Copied. If the file not in specified folder give it as ( DIRN = ’ ’ )
filematch = ‘xyz.dll’ #Provide the file name with extension.
username = xxxxx’ #Provide Your FTP Server User Name.
password = ‘yyyyy’ #Provide Your FTP Server Password.
storetodir=‘C:\Users\fortnite\Downloads\New folder/’ # provide the Destination path to store the files.
Note:
Run the script as a system user.
Let us Know your feedback.
Thank you.
20180827-ftp-download-files.json (2.84 KB)