read the xml file from FTP

Hello Experts
      I want to read the xml file from FTP server without download the xml file using

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


thats not possible, you will have to download it to be able to read it!

Maybe if you explain your reasons for not wanting to download, we may be able to find a better solution

polythoughtAuthor Commented:
Hello experts

     I want to read the xml file from ftp server and save the data in my database.
there is too many xml file in ftp server almost 20 to 40 files. I want to read all the xml file and saved it's content in my database. but it consume so much time.
because first I want to download the xml file then read it and saved it into the
database.So I want to read the xml file without download from ftp. it's possible or not?

Hi Polythought,

Its not possible to read a file from an ftp server without downloading it first... couldn;t you download it once and then read it into your database? Then at least any further work could be done with the database and not the flat files.
An alternative may be if you can get http access to the ftp folder, then you could use a webclient to 'read' the files and then you could dump the webclient contents into a table


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
You can do this by downloading the file to memory.  See the Secure FTP Factory for .NET component.

The topic Classes > Ftp > Downloading files > Downloading files to memory covers this:

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.