I have been doing this for a long time and it works without any problems (unless the network is having issues). That is, uploading files from either my PC or a network folder. I use the -s switch which points to a text file that contains FTP subcommands. The company is planning to migrate to FTPS, so I have to connect using port 990. Easy if I am connecting from IBMi to IBMi, but in this situation I need to connect from the PC or network drive.
My system administrator told me it is not possible.
Is that true? If not, what is the syntax I need to open a secure port?
I am executing this from within my CL program.
ftp -n -s:t:\mis\sltools\scripts\MYSYSTEM\getftpfile.txt
This is what is in getftpfile.txt located on the network drive:
open MYSYSTEM
user MYUSER mypassword
PUT t:\mis\sltools\files\d2d3_02-15-17\LAS_30161.csv MYLIBRARY/MYWORKFILE
close
quit
My system administrator told me it is not possible.
Is that true? If not, what is the syntax I need to open a secure port?
I am executing this from within my CL program.
ftp -n -s:t:\mis\sltools\scripts\MYSYSTEM\getftpfile.txt
This is what is in getftpfile.txt located on the network drive:
open MYSYSTEM
user MYUSER mypassword
PUT t:\mis\sltools\files\d2d3_02-15-17\LAS_30161.csv MYLIBRARY/MYWORKFILE
close
quit
Comment