Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
Navision Financials
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
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
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
305
Dynamics CRM
109
Dynamics GP
10
Dynamics SL
1.5K
Other
993
SQL General
384
SQL Performance
34
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
260
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
OCX for Navision Financials ?
kszymanski
Member
Posts:
42
2002-06-19
edited 2002-07-13
in
Navision Financials
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.
--
Kai Szymanski
Abt. eBusiness
D. Schuricht GmbH & Co. KG
0
Comments
kszymanski
Member
Posts:
42
2002-06-19
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. KG
0
StefanZimmer
Member
Posts:
9
2002-07-01
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
Lars_Westman
Member
Posts:
116
2002-07-13
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$
//Lars
Lars Westman
http://www.linkedin.com/in/larswestman
0
Sign In
or
Register
to comment.
Comments
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. KG
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>
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$
//Lars
http://www.linkedin.com/in/larswestman