Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to Que FTP uploads
Message
From
27/06/2008 11:01:29
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Title:
Best way to Que FTP uploads
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01327263
Message ID:
01327263
Views:
77
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
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform