Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to Que FTP uploads
Message
From
29/06/2008 01:16:45
 
 
To
27/06/2008 11:01:29
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01327263
Message ID:
01327497
Views:
9
We've used Message Queueing to do this sort of thing ... although I didn't write that part of the system and don't know all that much about it. But, take a look at the System.Messaging namespace and the MessageQueue class. I can take a look at some of our code and can certainly figure out what it is we did, if you get stuck and need some help.

~~Bonnie



>Hi all,
>
>I am working on an application where I need to send via FTP or WebService a record with about 10 or 12 columns approximately every 2 minutes. I feel there is a need to queue these uploads since the network may not be always available.
>
>I have an application thread that will create the record and needs to store it somewhere for upload.
>I have another thread that I want to monitor for new records and attempt to upload them in a LIFO manner.
>I have a web service and FTP site that will receive the records and store them in a SQL database.
>
>My questions are:
>What is the best method to store/ queue the records ready to be sent off?
>What is the best object type to send them as where they can be received by a web service or ftp?
>
>I know this is a little wide open question, but I am in the early stage of figureing out how to best do this. I ultimately want all my upload data to go via the web service so I can secure it without needing to pass out FTP credentials. I was thinking about using the web service to retreive the FTP credentials and then the app would use them to FTP the file but that would limit the type of object I can send up to a file (maybe xml).
>
>Thoughts, ideas appreciated
>Tim
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform