Auto FTP

  • Thread starter Thread starter Jeff Dillon
  • Start date Start date
J

Jeff Dillon

We have a remote office that places mainframe export files on a share (at
their location). When new files arrive, we need to FTP them to our parent
office for importing into SQL Server.

I was thinking a VB.NET app/service could run on both ends. Isn't there a OS
level API that could notify a VB app when a new file is copied into a
physical directory? What about programmatic FTP? I know there are 3rd party
TCP/IP products from Distinct, etc, but we would also consider native API
calls.

Other ideas are always welcome. We are considering BizTalk, for example, if
we get similar requests from other offices.

thx

Jeff
 
We have a remote office that places mainframe export files on a share (at
their location). When new files arrive, we need to FTP them to our parent
office for importing into SQL Server.

I was thinking a VB.NET app/service could run on both ends. Isn't there a OS
level API that could notify a VB app when a new file is copied into a
physical directory? What about programmatic FTP? I know there are 3rd party
TCP/IP products from Distinct, etc, but we would also consider native API
calls.

Watching for files....

System.IO.FileSystemWatcher:

Listens to the file system change notifications and raises
events when a directory, or file in a directory, changes.


As for the FTP... Well, there are a number of ways to accomplish that
:) Making P/Invoke calls to WinInet is one way - I have some C# code
you could look at if that is the way you want to go. Or you can find a 3rd
party FTP library.
 
Hi Herfried,
Sure you understood the OP's question?

I thought I did and Tom answered that in my opinon, I only added to the FTP
part, which Tom was talking about.

I think about that slightly maybe the ftpwebrequest is something to use.

However to help you and not let you send all the other links I did that
direct.

:-)))

Cor
 
Back
Top