FTP upload/download

sloors
Member Posts: 20
HI, i have a problem with a ftp file transfer. I want upload some text file on remote ftp server .
Is it possibile with navision 5.0 SP1?? :shock:
What is an automation Control for managment ftp transfer ( free )? :shock:
Thanks in advance.
P.S. Exuse me for my english, but i'm ITALIAN!
:shock: :shock: :shock:
Is it possibile with navision 5.0 SP1?? :shock:
What is an automation Control for managment ftp transfer ( free )? :shock:
Thanks in advance.
P.S. Exuse me for my english, but i'm ITALIAN!


0
Comments
-
Hi
You have at least 3 possiblities:
1) Start a Bat/Cmd-File with Shell-Command
2)Use WindowsScriptingHost as Automation Variable
3) There are shareware tools that can map ftp locations to a virtual drive letter. This way you just use a copy command to the virtual drive.
Hope this helps.
Thomas0 -
THANKS THOMAS for your ready reply.
Ok , i will follow the second street.
What's a free automation that can i use?0 -
It's listed as "Windows Script Host Object Model" in the automation variable window.
Regards
Heinz0 -
Sorry. :shock: :shock: :shock: but i don't have that object !!! :shock: :shock: :shock:
Can you inidicate another object that work for ftp file transfer?
Thanks In advance0 -
Hello,
have you solved?
Which is the better method?
Thank you
ps: Also I am Italian, in Switzerland for work.0 -
FTP is unfortunately not avaliable as dll.
I'm using ncFTP (free, but you have to install it on server or client; MS ftp.exe has some issues on win2008)CREATE(WScript) ; WinSty := 1 ; waitRet := 1 ; Parameters := '"C:\Program Files\NcFTP\ncftpget.exe" ' + '-C -u anonymous -p unknown@whatever.com ' + URL + ' ' + ENVIRON('temp')+'\'+FileName ; RunStat := WScript.Run(PArameters,WinSty,waitRet) ; IF FORMAT(RunStat) <> '0' THEN ERROR(Error connecting ftp server '+URL+' or accessing file '+FileName);
0 -
And variables...
Name DataType Subtype Length WScript Automation 'Windows Script Host Object Model'.WshShell WinSty Variant waitRet Variant RunStat Variant PArameters Text 1024
Misseed that you need to uplead files. Then use ncftpput http://www.ncftp.com/ncftp/doc/ncftpput.html0
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