15,896,606 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 13777104 (Top 10 by date)
Member 13777104
8-May-18 4:50am
View
Hi Richard,
I want to encrypt the file while uploading in to ftp server, like when we click on a file we need to encrypt as we all as upload in ftpserver and when we click on download in server it should decrypt. any idea on this
Member 13777104
8-May-18 4:46am
View
Hi, I have written below code to upload multiple files but the certain folder was not updated in ftp server,please helpwhere i went wrong.
public class WebRequestGetExample
{
public static void Main ()
{
try
{
// Get the object used to communicate with the server.
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://192...../E:\\folder1");
request.Method = WebRequestMethods.Ftp.UploadFile;
// This example assumes the FTP site uses anonymous logon.
request.Credentials = new NetworkCredential("username", "pwd");
// Copy the contents of the file to the request stream.
IEnumerable<string> files = Directory.EnumerateFiles(@"E:\\folder1");
using (WebClient client = new WebClient())
{
client.Credentials = new NetworkCredential("username", "password");
foreach (string file in files)
{
client.UploadFile("ftp://192..../E:\\folder1" + Path.GetFileName(file), file);
}
}
using (FtpWebResponse response = (FtpWebResponse)request.GetResponse())
{
Console.WriteLine("Upload File Complete, status {0}", response.StatusDescription);
}
}
catch(Exception e)
{
}
}
Member 13777104
4-May-18 7:43am
View
YES I HAVE CHECKED IT MY DEBUGGING THE CODE , I AM NOT GETTING WHAT TO DO WHERE I NEED TO CHANGE IN THE ABOVE, CAN YOU PLEASE HELP,THANK YOU
Member 13777104
4-May-18 6:58am
View
I have removed try catch blocks but still i am unable to get the command prompt output
Member 13777104
2-May-18 3:27am
View
sorry sir didnt get you, I am new to coding and working in c#, can you please give me an example
Member 13777104
27-Apr-18 8:46am
View
@Richard: when i click button i am getting as"exceptions occured during a webclient request" i need to upload path using openfiledialog/folder browser, please correct me if i am wrong
Member 13777104
25-Apr-18 4:19am
View
actually from this url http://192..../getho_test.php?.. what i have from that need to read values after getting response from web i want the details to be displayed in combobox.
eg: we have hospitalnames and users, need to display hospital names
Member 13777104
24-Apr-18 5:14am
View
I have seen the solutions also for the same question actually i displayed records using xml.which i got from one page. that's why i am unable to get those answers
Member 13777104
23-Apr-18 4:10am
View
below is my xml, need to get hospital names(hname) in combo box.
?xml version="1.0" encoding="utf-8" ?>
<hospitals>
<hids>
<hid>1
<hos_type>0
<hcode>SV
<hname>St Vincents
Australia</address >
<landline>56456456456
<mobile>569678768
<email>bijibtrack1@gmail.com
<status>0
<created_by>fgdfgdfgdfg
<created_on>2011-02-26 10:10:50
<notes>dfgdfgdfg
<is_pms>0
<c_insert>1
<c_update>0
<c_timezone>
<hids>
<hid>2
<hos_type>0
<hcode>ARC
<hname>ARC Clinic
Australia.</address >
<landline>34563456
<mobile>34563456
<email>bijibtrack1@gmail.com
<status>1
<created_by>
<created_on>2012-10-10 00:00:00
<notes>australia
<is_pms>0
<c_insert>1
<c_update>0
<c_timezone>2011-02-11 18:27:09
Member 13777104
13-Apr-18 1:40am
View
I updated the same but I can display only files in the directory.I need to get like a structure where we can expand the folders and see the subfolder and in it other folder and files
Show More