Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have problem with FTP upload files from subfolders.
How I can resolve this problem.
You have mixed up the two requests now. First carry out one request, then begin the other.
You have to open your local file, not the ftpFolder:
FileStream stream = File.OpenRead(localFileName);
Also, you never execute request1 in your current version.
And finally, why do you look for filename from ftpFolder? Isn't that just the remote name?
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
Wrote web api on asp.net. When accessing it, information about the server is displayed, how it can be removed.
Why did you close the question? It contains all the necessary information.
Go to the Controllers folder and look for the Home controller there you will find a method called by default Index delete that entry and remove the code from Views/Home/Index.html and Views/Shared/_Layout.html.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have Web c# asp.net application. I want to encrypt Web.config file. Not only Connection string.
I need full file to encrypt.
Look into the following MSDN article, it may be what you are looking for: https://msdn.microsoft.com/en-us/library/zhhddkxy.aspx
It is about using the aspnet_regiis tool to encrypt sections of the config file, which will be decrypted by IIS/ASP.Net when it is requested by the application.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
Would you please give me solution due to play wav file with selected range time via C# ?
I used NAudio, but it seems not support this feature.
Thanks
This might be what you're looking for:
How do I create a seekbar in C#\NAudio Music Player?
It has audioFileReader.SetPosition() and audioFileReader.Seek() which you can use to set your range.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
when i connect share point data source in my light switch HTML application have one exception
listdata.svc
does not appear to be a valid site SharePoint 2010 (or later) with an installation of WCF Data Services is required.
I think it's an authentication error to connect to the service.
the service actual path is :
http://[YourSharePointSite]/_vti_bin/ListData.svc/
make sure you able to access this path and you enabled external access to it
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I need to send my C# app in an email for a job interview exercise. It says to save the exercise as a zip file and email it. I would have thought they wanted to see the code, but just looking now, it looks like the only way to do this is to zip the .exe file and send it. The code will not be visible to them? Any way to show the code? Add my .cs file to the email?
Why don't you just zip the whole project directory? That will include your code files and your compiled .exe file. It will also include the solution or project from Visual Studio so they can open it on their end.
You may still need to change the extension of you executable file to something like .exe1 before zipping, otherwise the email service might not let it through.