OCX for Navision Financials ?

kszymanski
Member Posts: 42
Hi,
i'm looking for a ocx that i can use to
transfer/receive files from c/al.
Exists there one ?
Thanks.
Best regards,
Kai.
i'm looking for a ocx that i can use to
transfer/receive files from c/al.
Exists there one ?
Thanks.
Best regards,
Kai.
--
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG
0
Comments
-
Hi once again,
sorry, sometimes i'am a bit stupid <img border="0" title="" alt="[Smile]" src="images/smiles/icon_smile.gif" /> I
forget to say that i mean an ocx for FTP-Transfers.
Thanks,
Kai.--
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG0 -
Hy Kay
Sorry no OCX buuuttt...
i had solved this problem using "standard" FTP and FTP-Script.
It works, but take care to delete the Script after the execution. The Script contains readable USERID and PASSWORD!!!
Here's my solution:
//Create FTP Script
FtpScript.CREATE('C:\temp\script.txt');
FtpScript.TEXTMODE(TRUE);
FtpScript.WRITE(FtpUser); //Variables with USERID
FtpScript.WRITE(FtpPW); //Variable with FTP PW
FtpScript.WRITE('binary');
FtpScript.WRITE('cd /' + DistriPricelist.FTP); //set target folder (stored in ".FTP")
FtpScript.WRITE('Put ' +filereference);
FtpScript.WRITE('quit');
FtpScript.CLOSE;
//Exec FTP Transfer
SHELL('ftp','-s:c:\temp\script.txt','ftp.hitex.de');
//Clear TMP-Folder
//Clear Script because readable password!!
IF EXISTS('c:\temp\script.txt') THEN FILE.ERASE('c:\temp\script.txt');
<img border="0" title="" alt="[Big Grin]" src="images/smiles/icon_biggrin.gif" />
<small>[ 01-07-2002, 19:38: Message edited by: StefanZimmer ]</small>0 -
Try Cute FTP Pro. It comes with an OCX which You can use in Navision. It works great.
Here's some code:
CuteFTPAut.Host := 'myHost';
CuteFTPAut.Login := 'myUserName';
CuteFTPAut.Password := 'myPassword';
CuteFTPAut.Connect;
CuteFTPAut.LocalFolder := 'myLocalFolder';
CuteFTPAut.RemoteFolder := 'theRemoteFolder';
CuteFTPAut.UploadAsync := 'myFile';
It's a shareware for 59$
//LarsLars Westman
http://www.linkedin.com/in/larswestman0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions