Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: iFtpPut
Example:
I want to put the TRANS301.zip file into the /morning sub-directory.
After the iFtpPut the file is stored in the root directory as: \morning\TRANS301.zip
Below is the snippet of code I am using:
filenam=fileroot(locfilename) ext=fileextension(locfilename) targfilename=strcat("\morning\",filenam,".",ext) fsize=itemextract(3,locfilename,@Tab) ret=iFtpPut(conhandle,locfilename,targfilename,fsize,@BINARY)
targfilename=strcat("/morning/",filenam,".",ext) fsize=itemextract(3,locfilename,@Tab) ret=iFtpPut(conhandle,locfilename,targfilename,fsize,@BINARY)
Article ID: W14205
Filename: iFtpPut to Unix Server.txt
File Created: 1999:10:26:11:23:36
Last Updated: 1999:10:26:11:23:36