Architecture :: How To Download Multiple Remote Files

Nov 18, 2010

We need to download multiple files from remote servers. It is a process that would take few hours to complete, since we are talking about images ~50kb each and more than 250.000 in total. Each images will downloaded, resized and then imported to SQL.DB, so we do not need to write files to the disk. Also the applications need to use network credentials, since it is behind ISA.

From your experience, what is the best method to implement this? Should we use WebClient or HttpSockets? Should we use Async methods or Threads ? How can we implement for example 5 simultaneously download to achieve better speed, since we may getting files from many different servers at once?

View 2 Replies


Similar Messages:

Architecture :: Download New Data From Remote To Local?

Apr 18, 2010

I have an off-line project. User uses a laptop to input data off line into local SQL server express. Once connected to domain (on line), local data will sync with remote SQL server using sync framework. (It is done, works fine)

One job left:

Since another user used another program to update some tables in remote SQL server, such as CUSTOMER, SHIPINFO, my off-line program need to update these new data once connect to domain.

Here is what I design in Pseudo code: (take CUSTOMER as example)

1) In remote SQL server, create a store procedure (sp_customer) to select all CUSTOMERS

2) In application, create a dataset (dst_customer) based on sp_customer

3) Insert all customers data which is in remote SQL server but not in local SQL server based on CUSTOMER_ID

I do not think this a smart way to do it.

View 5 Replies

Web Forms :: How To Upload And Download Files From Remote Servers Without Using FTP

Sep 14, 2010

Can we upload and download files from remote servers through code without using FTP?

View 2 Replies

MVC :: How To Download Multiple Files From Database

Dec 16, 2010

am able to download single files which is coming as bytes from database..how to go with multiple files....

View 4 Replies

Web Forms :: Download Multiple Files As Zip

Nov 18, 2013

I have some documents in a folder ..i am creating zip file using the following code..but i am not able to download it at client side.
 
Imports ICSharpCode.SharpZipLib.Zip
Imports ICSharpCode.SharpZipLib.Core
Public Function ByteArrayToFile(_FileName As String, _ByteArray As Byte()) As Boolean
Try

[code]....

View 1 Replies

Web Forms :: Let User Download A Folder Containing Multiple Files?

Nov 3, 2010

I am working with Microsoft web developer 2008 Express (asp.net) and coding in VB.

I have coded a routine that creates a series of excel files in a folder called "SaveExcelFiles". This routine works fine. What I now want to do is to create a routine that will let my user download (copy) the entire folder to his PC. I do not want to have the user have to download each excel file separately if this can be avoided. Also I would like to have a routine that deletes all of the excel files in the folder.

View 4 Replies

Merging Multiple PDF Files To One File For Display / Download

Aug 31, 2011

Is it possible to take 10 (or more or less) pdf files in a directory and merge them into a single PDF file to display to the user? Obviously I would prefer to not pay for something if I don't have to

I'm working in ASP.NET 4.0 with C# in the code behind.

View 3 Replies

Web Forms :: Upload And Download Multiple Files From Folder

Jan 26, 2014

How to Upload multiple files from folder and then Download uploaded multiple files from folder without using Gridview in ASP.NET c#.

View 1 Replies

Data Controls :: Download Multiple Files From GridView Using CheckBox Selection

Oct 21, 2015

how to download selected files from grid view. Initial I will display list of files with file paths in grid view along with check boxes. when user select some files, I should be able to download selected files in a zip file. 

View 1 Replies

Web Forms :: Download Multiple Files And Store Them In Client Machine Folder Or Directory

Jul 16, 2013

Download multiple file from server and stored in client browse directory.

View 1 Replies

Deploy Files Is Connecting With Remote Desktop Client And Send Files

Jun 5, 2010

i have a production server that does not have ftp access. Possible way to deploy files is connecting with remote desktop client and send files.

As you know this approach is highly hard and time inefficient.

View 4 Replies

Download Remote Xml File?

Jul 27, 2010

I have a remote xml file like [URL]

I would like to write a program to download it to local with progress bar.

View 4 Replies

C# - Remote File Download Using .NET?

Jun 20, 2010

I'm trying to download remote file using C# (ASP.NET). The problem is when I browse to the file download URL - it downloads perfectly. When I try the WebClient.DownloadData(url) I get "no data to show" response.

If I browse using the built-in VS2010 browser I still get this "error" message.

The file link is: [URL](CSV file)

View 2 Replies

C# - Download File From Remote Location?

Jan 4, 2011

i want to download file from other website to on my location and i used code below

Dim wc As New System.Net.WebClient
wc.DownloadFile(pathUrl, fileName)

PathUrl,fileName both are correct m 100% sure.

after execution of these 2 line my browser progress-bar goes in to wait state like something is retrieving.but file not download any where.what should i do next?

View 3 Replies

C# - Download A File From Remote Server?

Mar 17, 2010

The below code works fine for downloading a file from a current pc.plz suggest me how to download it from remote server using ip address or any method

protected void Button1_Click(object sender, EventArgs e)
{
const string fName = @"C:ITFSPDFbillsFebruaryAA.pdf";
FileInfo fi = new FileInfo(fName);
long sz = fi.Length;
Response.ClearContent();
Response.ContentType = MimeType(Path.GetExtension(fName));
Response.AddHeader("Content-Disposition", string.Format("attachment; filename = {0}", System.IO.Path.GetFileName(fName)));
Response.AddHeader("Content-Length", sz.ToString("F0"));
Response.TransmitFile(fName);
Response.End();
}
public static string MimeType(string Extension)
{
string mime = "application/octetstream";
if (string.IsNullOrEmpty(Extension))
return mime;
string ext = Extension.ToLower();
Microsoft.Win32.RegistryKey rk = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(ext);
if (rk != null && rk.GetValue("Content Type") != null)
mime = rk.GetValue("Content Type").ToString();
return mime;
}

View 2 Replies

Architecture :: Remote Desktop Connection?

Dec 6, 2010

Is it possible to connect to a Remote Desktop from my ASP.net (I easily done it in .net windows application with a 4 line code and"Windows Terminal Service Control")application, If so can you guide me through it. Many thanks in advance.NB:I want to achieve it without using ActiveX control that work in IE, because with that every client would have to use IE and install the control.

View 6 Replies

VS 2005 Tutorial - Download Xml From Remote Site?

Feb 12, 2010

Does anyone have links to good tutorial on how to programatically (using vb) connect to a remote site to download and save xml files to local server? Thank you very much. The remote site is using REST and queues but I do not think that should matter or?

View 13 Replies

Web Forms :: How To Download A File From Remote Server

Sep 20, 2013

I am trying to access a remote network share from a C# program in asp.net. What I need is something like

function download(dirname)
{
file = (This is the part I don't know how to do)
for file in directory:
copyfile(file);
}

View 1 Replies

Architecture :: Want Application To Provide A Web Ui For Remote Access?

Nov 2, 2010

i want my application to provide a web ui for remote access, but i do not host that web page in IIS, because i do not want everyone install IIS on their home PC.

i spend some reading the asp.net pipeline, but still not figure how to load the .aspx file in my code.

View 16 Replies

Download File From Shared Folder On Remote Server

Feb 1, 2010

On remote server i have shared folder. If there any way to download file from this shared folder on local machine? Without using ftp. Server dont have iis or something like this,just have shared folder.

View 1 Replies

Architecture :: Open A Command Prompt Of Remote Computer?

Sep 3, 2010

I need to open a Command prompt (cmd.exe) of a Remote server computer and Run a Command from my asp.net web application (C# laungauge). I have progressed till opening a command prompt of the webserver where the website is hosted. My code is:

[Code]....

I have achived this using the VB script. The code is:

[Code]....

In the above code psexec.exe is software used to access remote computers.nawinapp627 = Remote serverPlease help me to achieve above using C#.

View 13 Replies

Architecture :: Web Service - File Download With MTOM?

Jan 18, 2011

I have a web service I put together that has a custom soap header for the authorization (UserName and Password).I have a function currently that will allow a user to download a file from my site via a web service.I have integrated this download to the membership system of the site.They are using a vb.net front end client to perform the download.The files I download are around a meg in size.I would like to show the download progess of the file.I was going to setup MTOM and download the file in chunks.I am trying to get around the authorization of each "chunk" of data that I am sending down to the client.I do not want to hit my authorization process for all of these calls to the web service with the file offset.The authorization header works well for other functions I have put together for this web service.

They set a username and password and then call a function for specific data that I am making available via the web service.Is there an easier method to stream a file to a user and show the download progress of the file?I was going to generate a token and have that token passed per chunk,but I still have to go through my security process.Can anyone assist in the proper design of a webservice to stream a file with progress and passing credientials.

View 2 Replies

Getting Files From Remote Machine?

Jan 14, 2011

I am working with SFTP applications also i am having one scenario. I have to search particular format files from remote machine and also need to store or copy the corresponding files into local system.

We are using user credentiaal to connect with remote machine

How could we achieve the scnenario.

View 3 Replies

Architecture :: Write A Response To Let Users Download A Big File From DB?

Mar 11, 2010

I am a newbie of handling memory.

in my web apps, files are stored as varbinary in sql server.

my goal is to make a response to let users to download the files.

if there is a file (500 MB) stored in one record in the sql server,

what is the best way to let users download it?

I found that , in code-behind, if the files are loaded as byte[] objects, it uses the memory.

for example, the datalength of a file in the database is 500 MB.

the byte[] for this file uses 500 MB memory. am I correct?

how about the filestream? if the file is loaded as a filestream object in code-behind.s

does it also take 500 MB memory?

View 2 Replies

Architecture :: File/document Upload.download In A Web Farm?

Oct 11, 2010

I have an asp.net application running on a web farm that allows users to upload files and download them later via link to that file. Currently, I use Windows DFS to replicate the local IIS directory where the files are stored across the web farm servers. However, as this solution does not scale out, I want to implement a more scalable solution by partitioning the documents. Specifically, say I set up multiple file storage servers (Fs1, Fs2, Fs3, etc.) on the network. Further, let's say I change my upload page to save the uploaded file to one of the file storage servers on the local LAN (based on some logic). I assume so far I am safe with ASP.NET doing this much assuming I have the correct permission for the ASP.NET process ID. The question I have is withregards to download links. When a user gets served a download link to their document (e.g. http://www.testco.com/data/doc1.txt) is there a way for me to "intercept" that HTTP request and underneath the coversserve the doc1.txt from the file storage server (e.g. Fs2) it resides

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved