Hi all,
have someone an example on how to make a file transfer (up or download) to/from an ftp site, using the standard ocx MSINET ?
I just want to make a little form in Navision 4.0 to transfer files to and from an ftp site ...
Thanks in advance !
0
Comments
Nuno Maia
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
But can you tell me what's the value of the variable icFTP ?
Thanks in advance !
1 - Default protocol.
2 - FTP. File Transfer Protocol.
3 - Reserved for future use.
4 - HTTP. HyperText Transfer Protocol.
5 - Secure HTTP.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
I'm looking for the right automation to define the variable autFTP
Don't find it
Can you tell me what for automation you are using ???
Sorry for my immense unknowledge ... !
Jan Hoek
Product Developer
Mprise Products B.V.
Tip: From my personal experience, I can tell you that you sometimes need to add a SLEEP statement to your code, to make sure the Internet Transfer Control can finish its work before it goes out of scope and is destroyed.
Tip: You can also use the StillProcessing property to test whether the transfer is complete.
Tip: Username and password can also be specified as part of the URL: ftp://username:password@servername
Jan Hoek
Product Developer
Mprise Products B.V.
Maybe somebody can help me out?
At customer location I want to use the msinet ocx.
It is not available on the desktops....
Did some browsing on the mighty www: found a version (not perfect - SP4).
After installation (regsvr32 etc etc) I tried to use it in a codeunit.
I got the error: ..."INET eist een disign time licentie. U kunt een dergelijkelicentie echter onmogelijk bekomen. Zorg......"
2 Questions:
1) Can somebody post the latest MSINET.OCX (or mail it)
2) Tips on how to register it.
Thanks, regards, Peter
If you copy a old variable the license check is skipped if I'm correct. At least this works this way for the common dialog thingy.