Single FTPCommand cannot be used to execute multiple commands like in a batch file. Since every FTPCommand executes in it's own session you cannot use it to achieve the desired result for block sizes, etc... Use command line FTP for this purpose. Here is an example JAL script Dim PID, number RunConfig "WINDOW", "HIDE" RunAndWait "ftp -n -s:batch_file_name_here FTPServer", "", 0, PID : I need to specify the information below in my FTP process but it fails using : the FTPCommand statement. This works fine using a bat file to execute the : transfer. : quote site recfm=fb lrecl=500 blksize=27500 cy pri=25 sec=3 : This is my bat file: open FTPServer : USER : PWD : quote site recfm=fb lrecl=500 blksize=27500 cy pri=25 sec=3 : ascii : PUT source.txt 'test.dest.dest' : quit
|