|
I'm working on a Web App (ASP.NET 2.0) where i need the "layman user" to select a folder, and upload the entire folder (along with its sub folders) to my server.
The only things google dug out were some Java Applets that upload folders.
I've heard of C# applets as well, but there isn't much stuff written about them. Not much good / useful stuff anyway.
Any insightful suggestions?
- I also need to tell the "Uploader App" "where" on the server it needs to store the Folder which depends on the users account (who will have logged in).
- Also, I'm thinkin of using Amazon S3 for the storage server. (FYI : S3 uses HTTP - SOAP or REST)
- I'm inclined towards C# because the target users will definitely have .NET runtime installed.
Any useful tips will be much appreciated! general or specific.
Pratik Stephen
|
|
|
|
|
Folders as a object do not exist. You are going to need a client side application (eg Java applet or ActiveX)
Brad
Australian
- bryce on "Problems with Code Project"
*sigh* Maunder's been coding again...
|
|
|
|
|
user send his code,question code and answer to a specific number(1232)
server collect this information and generate report.
It is same functionality as KBC in which
user send SMS "KBC 1" to 4646.
server check the answer and generate report.
to develop this system. from where i start..
|
|
|
|
|
HI
I want to execute a command in the code behind just before the javascript is executed by the body's onload event
Le Roux Viljoen
Web Developer
PCW New Media
South African Branch
www.pcwnewmedia.com
|
|
|
|
|
Awesome
Brad
Australian
- peterchen on "Who has the worst keyboard"
Keyboard? Ha! I throw magnets over the RAM chips!
|
|
|
|
|
Put a Javascript in a script tag at the end of the body, that makes a request to the server.
---
single minded; short sighted; long gone;
|
|
|
|
|
is it possible to develop chat window in AJAX and embedded in Flash?
Thanks in Advance
|
|
|
|
|
Flash has some really quite incredible features that we struggle with implementing with HTML/CSS/JS: Sound, Dynamic vector drawing, Sockets, local storage, video. I could go on. Why the hell are we struggling with and VML? Comet is essentially a hack while XMLSockets are built in to Flash…and then you have Red 5. To add to this, Apollo has just been released which is looking pretty interesting. See what I mean?
The sweet spot for JavaScript and Ajax has always been for those small, progressive enhancements rather than for creating rich interfaces. It seems to me that the more you head in that direction with JavaScript the more serious limitations you encounter. Browser JavaScript is never fast, has memory leak issues, browser bugs, CSS bugs and all manner of other tom foolery that, when you get to the stage of building something like for Google Maps gets really time consuming and messy. There are many efforts (WHATWG, Tamarin etc etc) that are working toward solving many of these problems but for now and for the foreseeable future we are stuck with em. This, I think, is when it’s time to bring out Flash. Not for the whole app of course, but used in conjunction with HTML/CSS/JS. Flash however is not without it’s problems.
Regards,
Satips.
|
|
|
|
|
I'm developing Chat application Using Flash. I designed the client side application, but dont know how to host the server in Flash media Server 2.Tell me how to run the chat Using Flash Media Server 2.
I downloaded the sample chat. But I dont know how to host the server side script to Flash Media Server 2. I downloaded the Trial Version of Flash Media Server 2.
Plz solve the Prob.
Thanks In advance
|
|
|
|
|
Hi,
I have a html form with some JavasSript code which is used to format the input entered, and send a form.action with the appropriate text.
The form.action is using a mailto call in the standard form
mailto:email?subject=xxx&body=yyyy
I'm calling encodeURI before I pass the text to form.action.
For now, the users are opening the html from their PC's, locally.
The email client we're using is Thunderbird.
When running this script in Firefox it works perfectly. Thunderbird opens a new compose email window with the subject and body set up correctly and the user just has to click send.
However on some systems using IE(6 or 7), the compose window doesn't appear and the email is sent in the background. When the email arrives, all of the uri formatting is visible (%20 etc), so it's pretty much a mess.
Not all systems using IE do this however.
All systems have Symantec Antivirus corporate 9 installed.
Does anyone know any reason why this is happening?
I know mailto isn't exactly reliable, but it would be great if I could at least find out what is causing this.
I don't think there's anything wrong with the script, there must be some setting on their PC's which is causing the trouble.
Any help would be appreciated.
Thanks
Bob
|
|
|
|
|
I would guess the issue has to do with some clients allow html email and other will only allow plain text. The ones that only allow plain text will see a lot of html tags.
Ben
|
|
|
|
|
I am using VWD and VB.
I have a Gridview with an EditItemTemplate containing a DropDownList behind a Label (See Below).
The DDL is populated by ODBC database.
When the users clicks Edit, I would like to set the DDL to value it currently contains.
Also, I would like to set the Focus to that DDL control, so at least is on the screen after post.
Any ideas would be appreciated!
Thanks.
-------------------------------
<asp:templatefield headertext="Assigned" sortexpression="ur_username">
<edititemtemplate>
<asp:dropdownlist id="DropDownList1" runat="server" datasourceid="SqlDataSource2" datatextfield="ur_username" datavaluefield="ur_pr_prid" appenddatabounditems="True" width="101px">
<asp:listitem value="Dkt">Docketing
<asp:listitem value="Mon">Monitoring
<asp:listitem value="Cal">Calendaring
<asp:listitem value="Clo">Closeout
<asp:listitem>BAP
<asp:sqldatasource id="SqlDataSource2" runat="server" connectionstring="<%$ ConnectionStrings:ca8_liveConnectionString1 %>"
="" providername="<%$ ConnectionStrings:ca8_liveConnectionString1.ProviderName %>" selectcommand="Select DISTINCT ur_pr_prid, ur_username, mb_gp_id_parent FROM user, member WHERE ur_pr_prid = mb_ur_pr_prid AND mb_gp_id_parent = '3' ORDER BY ur_username">
<itemtemplate>
<asp:label id="Label1" runat="server" text="<%# Bind("ur_username") %>">
<asp:templatefield>
-------------------------------------
|
|
|
|
|
Hi all,
I have a web service that accepts requests from users. I would like to be able to save the results of those requests to file on the server, outside the web directory. The results will be generated by the web service, so I don't think there is great risk of saving unwanted files.
Has anyone done this before, or can anyone suggest possible solutions to doing this?
Thanks a lot,
-----------------
Genaro
|
|
|
|
|
I had a similar requirement some tiome back... as far as I know (which isn't saying much...) this can't be done (security don't you know, ooh...), but as it was an acceptable solution for me to save the files within another, different web directory I was able to get around this by:
a) saving the files to the current one;
b) using an FTP class to transfer them to the second directory;
c) deleting the originals;
Maybe not so elegant, but it did the job...
regards
F
|
|
|
|
|
Hi Fred,
thanks a lot for your comments. Everything I've read seems to indicate that it is not possible. One solution that I have come up with (which I don't like) is the following:
a) Select a web directory where all the files will be saved
b) Prepend the path where the file should be saved as the first line in the file.
c) Have a process that polls the directory
d) Have the process read the destination path, remove the first line from the file and move the file.
While, this works fine, I don't like having the process polling all the time. It would be great if the web service could launch a console app that took care of moving the file and then terminated. However, this results in access problems.
Hopefully a better solution will come along soon.
Thanks,
-----------------
Genaro
|
|
|
|
|
Can you not just grant whatever user context the web service is running the rights to the folder where you want to save them?
|
|
|
|
|
Yes, I think you can do that. But I want to be able to save it anywhere (the WS user would specify where to save it).
-----------------
Genaro
|
|
|
|
|
Could you then run your web service under the context of a domain user with read/write rights to whatever folders you want to make available?
|
|
|
|
|
HI,
I have a problem in ASP.net.
i have 2 window one parent that contains a list box. and one add button.
on click of add button i am opening a popup.
the popup window contans
2 list box
1st Available Fields
2nd Selected fields.
and 2 buttons ADD and Remove
Click on Add button will add item from list one to list 2
Click on Remove button Remove item from list 2 to list 1
i want to pass complete list of selected items to parent window listBox.
How it can be done,i will welcome any help or comment.
list of selected items i am able to pass to parent but only string i can paas.i want to populate the list box of parent window without any post back of parent window.
Reply me ASAP.
Vikas
vikas
|
|
|
|
|
Say I have 4000 users who are instructed to go get 100mb file x from http://go-get-it-boys.com/x at the same time.
The server is running IIS, default install, nothing fancy. Now how will IIS handle it? Will it be sequential, i.e. user 2 will be able to start as soon as user 1 finishes, or will it be in parallel? And if in parallel, how parallel, i.e will there be 4000 threads created?
Thanks!!
|
|
|
|
|
HAHAHA Nice domain choice...
Anyway don't do that with only one server. Max you want is probably 40 and IIS will handle that sequentially.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Say I have several machines, there will still need to be one machine (or more, i don't know how those things work) that distributes the load. Wouldn't that machine, the one that distributes the load, also get jammed with so many requests?
Say I am a manager with 1000 employees and everyday I get requests to lick 4000 envelopes. I delegate the work to my 1000 employees, but the job itself of delegating the work might not be something that one manager can handle.
So how do big companies, like MS, able to host a file on one mirror and still handle the load?
|
|
|
|
|
hi
I have a dynamic dropdown listbox.I have written the following code in a loop to load data---
collegecombo.options[$i] = new Option('$school','$schoolname');
collegecombo.options[$i].title = collegecombo.options[$i].value;";
Here the title is displayed in mozila but not in Internet explore.
I am using php. Plz. help me.
Bharat Bhusanam
|
|
|
|
|
I'M HAVING THIS PROBLEM WITH MY WEBSITE, I DEPLOYED IT ON TO TE SERVER AND ON THE SERVER IT WORKS WELL BUT WHEN i TRY TO INSERT DATA WHEN ON CLIENT I GET THIS ERROR:
[COMException (0x80070035): The network path was not found]
System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +705
System.DirectoryServices.DirectoryEntry.Bind() +10
System.DirectoryServices.DirectoryEntry.get_AdsObject() +10
System.DirectoryServices.PropertyValueCollection.PopulateList() +234
System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) +56
System.DirectoryServices.PropertyCollection.get_Item(String propertyName) +97
Dash_Board.DashBoard.dgis_ItemCommand(Object source, DataGridCommandEventArgs e) in c:\inetpub\wwwroot\dash_board\dashboard.aspx.cs:156
System.Web.UI.WebControls.DataGrid.OnUpdateCommand(DataGridCommandEventArgs e) +109
System.Web.UI.WebControls.DataGrid.OnBubbleEvent(Object source, EventArgs e) +507
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26
System.Web.UI.WebControls.DataGridItem.OnBubbleEvent(Object source, EventArgs e) +106
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +26
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +121 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +115
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138
System.Web.UI.Page.ProcessRequestMain() +1292
Thanks.
|
|
|
|
|
Hi,
I'm sure this is basic, but it's always confused me... (easiy done..)
Cookies set using Jvascript are simple name-value pairs, wheras those set using ASP.NET are name/key-values... how can I set a cookie using a JS function then later on read it back into my code-behind using ASP.NET? And vice versa, how can I set one in code-behind then read it back using JS on the client? Whenever I've tried I get "object not set" kind of errors due, I imagine, to their different structres..
What am I missing (apart from a brain?)
chers
F
|
|
|
|