web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Import CSV file from FTP to NAV Tables

(0) ShareShare
ReportReport
Posted on by 354

Hi 

I have a client requirement to import the CSV file from FTP to NAV tables and this should be automated using Job Queues. I got some idea through surfing the internet but I have following queries.

1) Do I have to download the CSV file from FTP to my local machine before uploading into NAV?

2) Should I use staging table in XMLport to upload the CSV data and then to copy that information to Main table.

3) How to download the CSV file from FTP using Date modified of that file (have any code for this).

4) Error handling (if we have any validation issue in CSV file).

Please advice.

Thanks,

Shyam

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

    Hello,

    Yes you need to download the CSV file from FTP before uploading, either you can use staging table or upload it directly it depends on your requirement if you want process or validate data then staging table is a good idea that is how you can handle errors.

    To download the file from FTP please check my blog

    www.navisionworld.com/.../how-to-download-ftp-files-using-net_27.html

  • Verified answer
    dkatson Profile Picture
    2,263 on at

    check this http://www.dynamics.is/?p=583

    there you can find ready object for that

  • Verified answer
    Alexander Ermakov Profile Picture
    28,096 on at

    You can get more info about Reading a file from FTP:

    dynamicsuser.net/.../reading-a-file-from-ftp

    forum.mibuso.com/.../how-can-we-export-import-file-from-ftp-server

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans