1,136 Topics

Member Avatar for
Member Avatar for manish250

hello all i have a tgz file on the system.Now i want to download it in my jsp page.but i have not any idea how to do it. currently i am downloading the text file in jsp using following code [CODE]response.setContentType("Text/html"); response.setHeader("Content-Disposition","attachment;filename="+strFileName+""); [/CODE] please help.....

Member Avatar for manish250
0
153
Member Avatar for khess

Time to enter the Wayback ([URL="http://en.wikipedia.org/wiki/WABAC_machine"]WABAC[/URL]) Machine to an experience I had with a new Linux user and compare it to today's more tech savvy audience. The year was 1997 and I had settled in for the evening with my [URL="http://www.guinness.com/"]favorite beverage[/URL] and a bit of channel flipping, when I …

Member Avatar for ru60hz
0
954
Member Avatar for Red Dragon

the aim of this programme is to create a .txt file (of which the name is specified by the user) of all the items in a certain directory (also specified by the user) the problem is about half way down, the 'mydir' bit [CODE] #include <iostream> #include <fstream> #include <string> …

Member Avatar for Red Dragon
0
356
Member Avatar for OnnDay

Hi everyone. I'm using Tomcat 7.0.8 I have created servlet, which loads image to "webcontent\pic" folder of my project. Then I need to display this image. The servlet works, but with only restriction: i need manually refresh content of project, or directory (I'm using Eclipse). Otherwise ugly cross will be …

Member Avatar for OnnDay
0
166
Member Avatar for rhiang1984

i am wondering where i am going wrong, i have a uploader image in php and html, it all works as in it goes into the set folder, but i have a problem, because i want the program to do the folder then do another folder inside,as in using the …

Member Avatar for codewall
0
952
Member Avatar for Billy D

I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the …

Member Avatar for Billy D
0
360
Member Avatar for vr3690

I have a file with the following path :[code] D:/bar/クレイジー・ヒッツ!/foo.abc[/code] I am parsing the path from a XML file and storing it in a variable called "path" in the form of "file://localhost/D:/bar/クレイジー・ヒッツ!/foo.abc" Then, the following operations are being done : [code] path=path[17:] #to remove the file://localhost/ part from the path …

Member Avatar for vegaseat
0
227
Member Avatar for manish250

hello all I am having a problem when i download the files from the browser there are 2 blank lines on top and 2 blank lines in the last.while in the original file on the system there is no blank line.Code is as follows Thanks in advance [CODE]<jsp:useBean id="campaign" class="com.cellebrum.campaginManager.hourlyMIS" …

0
119
Member Avatar for adobe71

How can I upload image by checking pixel(ie 100x100) and size(ie 50kb)in MS Access and retrieve from database to show in image control using C#.

Member Avatar for sgt_toasty
0
86
Member Avatar for Eric Cute

Hi everyone, Im trying to download all files in a directory residing in the server to clients pc. I know how to download single files using response.getoutputStream(). My problem is I want to download ALL the files in that directory with a single click of a button. i tried iterating …

0
96
Member Avatar for JamieLynnSEO

My company has a PPC account with Google, naturally. We've been getting about 2 automated calls a day from Google inquiring about weather or not we would like our company to be listed in their directory. I know this sounds silly, but my boss wants me to find out if …

Member Avatar for pgmco
0
206
Member Avatar for ashwinshenoy

HI Guys, I have completed my VB project using vb 2008 express edition.. I am not able to create a set up file for my project and I think it is because of the file path i have provided in my program dbSource = "Data Source = C:\Documents and Settings\cfadmin\Desktop\Lead_management\Lead_Management_Project\Lead_Management_Project\London.mdb" …

Member Avatar for Mitja Bonca
0
256
Member Avatar for masterjiraya

ALL THE FILES ARE HERE. [URL="http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar"]http://cid-3e21e1e16478087a.office.live.com/embedicon.aspx/.Public/noswfupload.rar[/URL] THERE'S A PROBLEM IN THE FILE RECEIVER.PHP I can't solve why I cant upload with restrictions, what I want is to upload multiple files in one deploy... it's an array of files. I want these each files of every array element is checked and …

Member Avatar for masterjiraya
0
205
Member Avatar for msrache

I'm sorry. The correct URL for the demo upload is here: [url]http://demo.joomlatools.eu/[/url] I can't find the edit post button. Thanks, Rachel [QUOTE=msrache;1548777]Hi, This issue specifically has to do with the CMS Joomla, particularly the component Docman. Since the only available option I have for posting this was under the category …

0
111
Member Avatar for rafu5418

Hi, Anyone can help me to build this little program? i want to know that which folder or drive i'm in and my program will automatically write the status on the list box <example: kind of FileSystemWatcher1>. i mean, i want to get the current status of the drive and …

Member Avatar for rafu5418
0
81
Member Avatar for Rahul Das

I am developing an application where I am uploading a file and then it is uploaded to a temporary folder and I see the preview of that image through an ajax call without refreshing the current page.Then after clicking "Save" it saves the file to original directory. The file I …

0
125
Member Avatar for Tabone3

I never uploaded a file before and I'm finding some problems regarding uploading a file in a directory which have some security. I searched on the internet and I found out that I need to make use of [I][B][U]chmod[/U][/B][/I] php function however I have been fighting against my computer for …

Member Avatar for tomato.pgn
0
237
Member Avatar for VasquezPL

Hi guys! I have a code: [CODE] String Lastlogon(string username, string domain) { try { { DirectoryContext context = new DirectoryContext(DirectoryContextType.Domain,domain); DateTime latestLogon = DateTime.MinValue; string servername = null; DomainControllerCollection dcc = DomainController.FindAll(context); foreach (DomainController dc in dcc) { DirectorySearcher ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds.Filter = …

Member Avatar for VasquezPL
0
1K
Member Avatar for artic

Hi, In our project, I wrote the below code to upload any file of size less than equal to 2MB, in my local XP system working fine, when i deployed to client server having config windows server 2003, i got request time error when size is more than nearly more …

Member Avatar for crishlay
0
188
Member Avatar for battlex2010

Is there any way i can pause a file download in my vb program?? I have tried both the http method and the my.computer.net method with no luck. I have also tried pausing the background worker by this method:[URL="http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/"]http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/407a38ec-b012-4628-9627-c0aa3cd87a42/[/URL] But even if the bgworker is paused the download goes on..... …

Member Avatar for battlex2010
0
277
Member Avatar for VasquezPL
Member Avatar for VasquezPL
0
2K
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar for Sturdy
0
5K
Member Avatar for Baby.D

Hello, so I get the weirdest thing when I open my internet explorer (I only use it on occasion, usually it's firefox). I have a pic of what comes up, which I've posted below. I know it's related to whatever virus I have, but it's something of a software download …

Member Avatar for gerbil
0
281
Member Avatar for jrotunda85

So I'm trying to figure out the best way to go about setting up an image upload system for my site. Basically we have, let's say, 2,000 stores in our database currently (that number expands by the day). I want users to be able to upload images for each store …

Member Avatar for diafol
0
136
Member Avatar for yosi501r

Hello everybody, I try to find out how to download any file from a URL that doesn't specify. For example: [url]http://translate.google.com/translate_tts?q=Daniweb[/url] ^^This URL directs to an .mp3 file, which is the spoken text by Google Translate. I have this code already, but it helps only when I use URL with …

Member Avatar for yosi501r
0
446
Member Avatar for BLUEC0RE

My original plan was to pipe "ls -l", get the permission string that represented the file in question. Translate the string of 'r's 'w's 'x's '-'s into 0s and 1s then convert it from binary to octal. This seems really cumbersome and annoying and I gotta figure there is some …

Member Avatar for BLUEC0RE
0
171
Member Avatar for jalpesh_007

I have made floyd warshall algorithm. I need some help for finding shortest path from source to destination. We have to give source and destination. Eg. Program gives us output like source=A and destination=D then shortest path is A-B-D with distance 10. I also give the code for that in …

Member Avatar for rubberman
0
366
Member Avatar for blueangel

How to upload file with oracle database 10gR2?? i can't find how to upload.. i've tried to create a procedure in oracle and execute in netbeans but the file save in directory and then from directory save to database. it means the file save in 2 location, in directory and …

0
85
Member Avatar for aposse

Hello everyone I'm using dreamweaver CS5. I have widgets like slideshow filmstrip; youtube; and twitter im trying to upload unto my server go daddy, but it doent reconize my spry can anyone help. Aposse

0
60
Member Avatar for ashvamedh

hey friends... i am using fedora 13... when i am trying to access a database i am getting this error-- mysql> use bgm_scr; ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'bgm_scr' --------------------------------------- i also tried accessing by switching to superuser.. but i get this error -- [CODE][user@localhost …

Member Avatar for davidchilders
0
207

The End.