|
jojoba2011 wrote: Is it possible to unzip the archive (.zip) in remote server right after
uploading it?
From the client end (via FTP) - no. Is the server end under your control?
|
|
|
|
|
Check the allowable commands at the ftp server end, as some servers allow you to run commands via a remote shell.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
thanks for solution.
But how to do that ?
do you have any sample ?
|
|
|
|
|
Sample for what? I suggested that you check whether your ftp server will allow you to send commands that can be executed in a shell at the server end. If that is possible then you just need to send a command to do the unzipping. It does not need any code.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I need some help with a C++ problem.The problem is solved,i have the code and it runs perfectly but my teacher ask me to do some changes.The changes mean to move the declaretion of some constructors from a header file to his associate cpp file.I can t remember c++ programming with classes and stuff.Please help!
|
|
|
|
|
Wrong forum. This is the C# forum, not the C++ one.
|
|
|
|
|
I search for days now for a Nunit-problem, but I found no solution.
I have a c#-dll (built .net4.0)with test-fixtures inside. Eerything runs well.
But, when I make the "code-window" inside the "Errors and Failures" visible by dragging the splitter-bar, then I get an exception from NUnit and I can not see any code as expected. If I accept the exception by pressing "Continue", then a cross-mark is displayed.
Do you have any idea?
|
|
|
|
|
This is a problem with NUnit itself? You should raise it as an issue here[^].
|
|
|
|
|
how can I Pass a value from one page to another dont want to use session querystring class public members and static class in webapplication
page is protected i cant access value from sessions and query string
|
|
|
|
|
One option would be to store the values in database.
You can insert the data to be passed to another page in page 1 and then retrieve that information in page 2.
|
|
|
|
|
Can you post your code - I don't fully understand your question. Even though the page is protected, you should be able to access both session variables and query strings. I'm also not sure where static classes come into the problem.
|
|
|
|
|
|
You want to pass a value between pages, but don't actually want to use any of the obvious mechanisms that are provided to enable you to do so?
What is the value? The session is usually a good place to put temporary state variables.
|
|
|
|
|
If you want to pass the data from one page to another then the options available are:
Session
QueryString
Cookies
Application
Cache
See which one you could use. Here is an article that could help.
A Beginner's Tutorial on ASP.NET State Management[^]
P.S. Be very careful if you are using Application or Cache as they will be available longer and for many users.
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So throw off the bowlines. Sail away from the safe harbor. Catch the trade winds in your sails. Explore, Dream. Discover.
|
|
|
|
|
Hello EveryOne ! I'm working on c# i'm making an bar-code application . In which i want to print the text above bar-code and it is possible with crystal reports but i don't know how to fetch pictures in crystal report and how to align them according to the page size ........ any help would be appreciated ... Thanks
Regard Mr.Saud Ahmed.
|
|
|
|
|
hi bax
i want to create a tree usage recursive function but i cant do this please help me
|
|
|
|
|
what have your tried so far?
Jibesh V P
|
|
|
|
|
|
have you started writing any code to implement this? if yes means where you stuck.
Jibesh V P
|
|
|
|
|
What are the inputs to your creation process and what structure do you expect at the end? You need to explain what sort of tree you are trying to create, and why you need to use recursion.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Hello World!
I've done my project: "RLE encoding/decoding tool" and have published source code at the CodePlex repository: http://rle.codeplex.com/
The source code is available here: http://rle.codeplex.com/SourceControl/changeset/view/c96568c408b1#rletoolv1.cs
I think, that you will be able to find the download package by yourself.
First of all, why do I create such discussion here: I want to listen to the well criticism for my source and what I must to fix/add at the future uploads.
Thank you,
Best Regards,
Oleg
|
|
|
|
|
|
|
I have a requirement to serialize out an object to XML where certain elements are encrypted for privacy / security reasons.
I've seen some samples on the internet for doing this, but they are all hardcoded. I.e. after the object is serialized you "patch" the elements you want to encrypt with the encrypted version. Not liking the hardcoded aspect of this solution. Also having to hardcode the decryption parts.
I've seen another solution where you use the XmlIgnore attribute on the plain text property and then add an "encrypted" version of the property and use the XML attributes to rename it. Not liking that you need 2 versions of every "secure" property.
Are there any other options? Ideally I would like something "in the spirit of .NET" along the lines of:
public class SomeObject
{
[XMLEncrypt]
public string SomeProp { get; set; }
public int SomeIntProp { get; set; }
}
where its something ".NETy" like a custom attribute or something like that. Unfortunately, I don't really see any way to hook into the XML serializer without completely re-writing it.
I thought about deriving a class from XMLSerializer and providing my own Serialize function that calls the base class and then afterwards goes through the object graph via reflection and patches the elements marked with the XMLEncrypt attribute, but I'm not really liking that idea that much either.
Any other suggestions?
|
|
|
|
|
SharpSerializer[^]?
It's open source, so you can mod it to make it do what you want. It's a NewBSD License, so I think you can do pretty much anything you need with it.
Bob Dole The internet is a great way to get on the net.
2.0.82.7292 SP6a
|
|
|
|