0
голосов
2ответов
144 просмотров

php and file storage on windows servers

My question is related to using a difference drive on a windows server to store files. The partition of the server is too small to handle a large amount of data files, and I want to use the D: drive as the file storage space. My problem is, how do I access the files when they're stored on the D:...

5
голосов
5ответов
7658 просмотров

Multipart Downloading in C#?

Please excuse my ignorance on the subject. I would like to write an application in C# that can download files off a server the same way DownThemAll does. DownThemAll seems to open four connections to the HTTP server to download the same file. I was just wondering if there are any existing librar...

0
голосов
1ответов
3036 просмотров

C++ How to download webpage to string without saving to disk - URLDownloadToFile not work

How to download webpage into string without saving this page to disk in C++? URLDownloadToFile MSDN function only saving page into disk.

1
голосов
1ответов
1644 просмотров

Progress Bar Of URLDownloadToFile

I'm using MASM to build a download program, but the thing is that i don't know how to use a progress bar to show the progress of the download, i'm using URLDownloadToFile like this: invoke URLDownloadToFile, NULL, chr$("http://masm32.masmcode.com/masm32/m32v10r.zip"), chr$("D:\test.zip"), 0, 0 ...

3
голосов
4ответов
12095 просмотров

How do I download flash files embedded using SWFObject

A site I use displays a flash file, which is embedded dynamically using SWFObject. I want to download the flash file locally, so I can run it when I don't have access to the net. However, when I try to open the url to the swf file, it demands an 'id' parameter that is normally passed by the SWFOb...

2
голосов
2ответов
826 просмотров

Core data, file downloads, and thread-safety

What's the preferred approach for constantly sharing data across threads when using Core Data? I am downloading a large file and want to show progress of the download in a UIProgressBar. The actual download is happening in a background thread created by NSOperation. The download information (lo...

1
голосов
2ответов
2832 просмотров

Shell script (mac): How to download files from a directory using wget and regular expression?

I'm trying to download images (.jpg) from web folder using wget. I want to download only images, which have a certain sentences in file name. This works fine wget -r -nd -A .jpg http://www.examplewebsite.com/folder/ but I like to include a sentence eg. "john". I tried wget -r -nd -A .jpg '*...

1
голосов
2ответов
6339 просмотров

How to authenticate an HTTP file download?

In my website I've a php script that launches a file download without showing the full path of the file, the code look like this: $path = '../examples/test.zip'; $type = "application/zip"; header("Expires: 0"); header("Pragma: no-cache"); header('Cache-Control: no-store, no-cache, must-revalida...

0
голосов
3ответов
643 просмотров

Image file download problem

I am facing problem in downloading any image file from the server. I am able to upload them successfully and can open them from the location where they are uploaded and stored. When i download using my function the image files get downloaded fully, file size is also correct but when i open them...

0
голосов
1ответов
876 просмотров

Download multiple file in ASP.NET or Flash

Is there any way to DOWNLOAD multiple files in asp.net? Is there any way to DOWNLOAD multiple files in Flash?

1
голосов
5ответов
6961 просмотров

Flash AS3 : how to stop data loading before completion?

I'm developing a system which uses resources(image/sound) from server. On user action, I download specific resources and use them. Now, before all those resources download completes, If user perform another action, I want to discontinue/cancel downloading current ones. Is this possible? I trie...

0
голосов
4ответов
3395 просмотров

force download script

I worked on a nice "force download file" script which purpose is to make sure files are being offered to download instead of displayed in the browser, no matter what type of file that is. It used to work well but recently i received feedback that it wouldn't work, notably for pdf and xls files (...

2
голосов
2ответов
4029 просмотров

Android: Loading data and then notifying an Activity? Also documented a failed approach!

I just tried a stupid approach and it crashed my app... Basically I have an activity that has three tabs (containing three activities). Each of the tabs gets its input from an xml file downloaded off the net. Everything is fine but when I start my app, it has download the xml file and there's a "...

6
голосов
5ответов
24299 просмотров

Ajax File download Issue

I am downloading a dynamic file in my application, simulating ajax using iframes. What I am doing is, when the download request is made, I will create a dynamic invisible iframe, and set the src of my iframe as the download url.I am able to successfully download the file, but the requirement is ...

14
голосов
4ответов
8491 просмотров

HTTP Download very Big File

I'm working at a web application in Python/Twisted. I want the user to be able to download a very big file (> 100 Mb). I don't want to load all the file in memory (of the server), of course. server side I have this idea: ... request.setHeader('Content-Type', 'text/plain') fp = open(fileName...

0
голосов
4ответов
134 просмотров

delaying script to slow leechers

I am developing an image bank site that will hold royalty-free images for download. I want to slow down anyone using a bot or who is downloading too often, so I have a daily file limit and have incorporated a variable sleep into the script that delivers the files. I do that by writing the complet...

0
голосов
1ответов
152 просмотров

best way to exchange files

I have a client (java) that has to exchange files (upload/download) with an IIS/FTP server , Is there any guidance wich method is better (FTP , http, maybe Web service with MTOM )

2
голосов
3ответов
3705 просмотров

how to determine if file has downloaded

I have the following code that allows a user to download a file. I need to know (if possible) if they downloaded the file successfully. Is there any kind of callback that I can tie into to know whether or not they were successful in download it? Thanks. string filename = Path.GetFileName(url)...

1
голосов
3ответов
7432 просмотров

Filename and mime problems - ASP.NET Download file (C#)

I'm facing a very strange problem in my ASP.NET Application. When the user clicks the button that downloads a file, Internet Explorer / Chrome / Firefox shows the save dialog but the name of the file is the name of the ASPX Page (For example, if the page is named Download.aspx the download dia...

11
голосов
5ответов
28373 просмотров

How to trigger onload event when downloading a file in an iframe?

Suppose we have the following HTML file: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test iframe download</title> <script type="text/javascript"> var init = 0; function download() { document.getElementById("dload_frame").src = "http://example.com/d...

14
голосов
6ответов
15938 просмотров

Browser download complete event

We've been looking for a while for an answer to this, but haven't found a solution. We have a web server, which allows the user to download files (pdfs), which are dynamically-generated and served from servlets. We'd like to know when a download has completed (and how: was it successful, did i...

1
голосов
3ответов
7015 просмотров

Force download of a file on a network share through IIS

I'm writing a quick web page to control access to a web based repository of audio file (recordings of lectures). The audio files are held on SAN and accessed from the web server using a UNC share. I want to force a "save" dialog to appear, because during testing we have found that some web brow...

-2
голосов
2ответов
279 просмотров

iPhone + download videos

How to create an application, that will allow users to download videos to their iPhone from some server.

4
голосов
2ответов
4852 просмотров

Winsock downloading files - vb6

I'm trying to use Winsock to download some files and save them. In my case, I have a MSHFlexGrid with 2 columns: one with URL and the other with the "path+filename" (where the file is going to be saved). I'm iterating through all rows calling the next function: Public Function DownloadSock(ArqUR...

2
голосов
4ответов
6906 просмотров

PHP Force Download of Remote File

I have a bunch of videos stored on my Amazon S3 storage. I'm working on creating a PHP script, very similar to the one here, where users can download the videos to their hard drive. I'd like to use something like this: <?php $file_name = $_GET['file']; $file_url = 'http://www.myamazons3.co...

5
голосов
2ответов
1989 просмотров

Better way to download a binary file?

I have a site where a user can download a file. Some files are extremely large (the largest being 323 MB). When I test it to try and download this file I get an out of memory exception. The only way I know to download the file is below. The reason I'm using the code below is because the URL i...

5
голосов
5ответов
1358 просмотров

urlopen error 10045, 'address already in use' while downloading in Python 2.5 on Windows

I'm writing code that will run on Linux, OS X, and Windows. It downloads a list of approximately 55,000 files from the server, then steps through the list of files, checking if the files are present locally. (With SHA hash verification and a few other goodies.) If the files aren't present locally...

12
голосов
3ответов
24615 просмотров

Auto start file download after form submission

I have a web form that users complete online. When they press submit it will start a file download for them. At the moment, I process the form submission and generate a suitable file for the user and fire it off with suitable headers. eg... header('Content-type: "application/octet-stream"'); he...

5
голосов
3ответов
1757 просмотров

How to get a remote-file's mtime before downloading it in Ruby?

I have the below code, which simply downloads a file and saves it. I want to run it every 30 seconds and check if the remote-file's mtime has changed and download it if it has. I'll be creating a thread which sleeps 30seconds after every iteration of an endless loop for that purpose, but; how do ...

6
голосов
7ответов
12200 просмотров

How to create a link that triggers file download?

When a user clicks a "Download PDF" link, I would like for the download prompt to appear and for the user to be able to download the file. Currently, the user is just transferred to the address of the PDF file. For example: <a..[what goes here??]..>Download PDF</a> It seems that ...