Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

Urgent !!!!!  How to Upload a file in C# with HTTPS Protocal

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brahmam - 23 Mar 2006 16:41 GMT
I want to upload a file to ebay site using pure C#

I am having a text file named eBayData.txt i want to upalod this to ebay
site at
URL  :
https://bulksell.ebay.de/ws/eBayISAPI.dll?FileExchangeUpload/EBayData.txt

I tried with webclient class but it was not working fine , one more thing is
ebay has given a token for authentication , But when i used Webclient there
is no option to set the token or credentials

How to do this any ideas from ur side , I have to do with HTTPS: protocol
only and using C# (not with asp.net)

It's very urgent anybody help me

Thanks in Advance

Brahmi
Praba - 24 Mar 2006 03:04 GMT
Hi Brahmam,
   The webclient class has a credentials property.

Here is the sample code,

Dim objWebClient As New WebClient()
Dim Cred As New System.Net.NetworkCredential
Cred.UserName = TextBox1.Text
Cred.Password = TextBox2.Text
objWebClient.Credentials = Cred

Hope it helps (Sample code is in VB.Net pls change it to C#)

Regards,
Praba

>I want to upload a file to ebay site using pure C#
>
[quoted text clipped - 15 lines]
>
> Brahmi
Praba - 24 Mar 2006 03:48 GMT
Hi Brahmam,
   The webclient class has a credentials property.

Here is the sample code,

Dim objWebClient As New WebClient()
Dim Cred As New System.Net.NetworkCredential
Cred.UserName = TextBox1.Text
Cred.Password = TextBox2.Text
objWebClient.Credentials = Cred

Hope it helps (Sample code is in VB.Net pls change it to C#)

Regards,
Praba
>I want to upload a file to ebay site using pure C#
>
[quoted text clipped - 15 lines]
>
> Brahmi
Jason Hales - 24 Mar 2006 17:52 GMT
Have you looked at ebay's web service - eBay SDK 447.0 for .NET.  It's
pretty comprehensive

http://developer.ebay.com/help/docs/#wsdkn

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.