1. create a file called 'upload.cmd' file and in it type something like:
ftp -i -s:ftp.bat x.x.x.x
note: if you go to a dos prompt and type in ftp /?, you will discover all the options for ftp. x.x.x.x is the FTP's IP address
2. create a file called ftp.bat. This will be the file you use to login and apply commands. On separate lines, type in this info
login
password
mput/mget file (this could be any sort of commands you need to accomplish your task)
quit
Then, in your NAV code, call the upload.cmd file using the SHELL command.
Also, take a look at 'Form Data Types' in the Help section in NAV and it'll give you a whole bunch of ways to build these files for you
Comments
See if those posts answer you question.
If not then be more specific about your issue.
http://www.BiloBeauty.com
http://www.autismspeaks.org
ftp -i -s:ftp.bat x.x.x.x
note: if you go to a dos prompt and type in ftp /?, you will discover all the options for ftp. x.x.x.x is the FTP's IP address
2. create a file called ftp.bat. This will be the file you use to login and apply commands. On separate lines, type in this info
login
password
mput/mget file (this could be any sort of commands you need to accomplish your task)
quit
Then, in your NAV code, call the upload.cmd file using the SHELL command.
Also, take a look at 'Form Data Types' in the Help section in NAV and it'll give you a whole bunch of ways to build these files for you