INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

RE: FTP several 837 files

RE: FTP several 837 files

(OP)
Hi Everyone,

I need to ftp several 837 files all with different names from a folder to an outside source. Is there a way to do this? I tried to use the foreach loop container with the Flat File source container but it doesnt like the file format. Not sure what container I need to use. I'm using SQL2008.

Thanks for your help!

RE: RE: FTP several 837 files

why would you use flat file source?

If all you are doing is ftp-ing then stick the ftp task in the for each loop container wit the FELC collection set up as for each file enumerator

Shouldn't matter what format the file is

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

RE: RE: FTP several 837 files

(OP)
Thanks for your response! I'm a little new to SSIS packages. I'll give it a try!

RE: RE: FTP several 837 files

np - SSIS can be a little obscure to understand at 1st but it soon gets easier :)

Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244: How to get the best answers before you ask a question

RE: RE: FTP several 837 files

To expand on Geoff's advice: Since these are 837 files they likely contain HIPAA restricted data and the receiving site might require a more secure connection than the built-in FTP component can provide (like SFTP or FTPS).

If that ends up being the case, what we do here is use WinSCP as the tool of choice. We use a Script Task within the ForEach Loop container to build a script file which can be passed to the WinSCP command line interface. After the loop, we then use the Execute Process task to fire off WinSCP to send (or get) the files.

You might not need to do this, but something to keep in your bag of tricks.

-Jim-

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close