Use SharpSSH SFTP Library For NET With A Proxy?

Jan 19, 2012

I am using SharpSSH library to upload files to a SFTP server. I can do it fine through my home PC, but from my work's PC, I can not access the server. After contacting the sysadmins (located in another country), they told me I need to access the SFTP server via a proxy since all the company's internet access goes through that proxy.

I have searched a lot and while some posts indicated that this is possible I didn't understand how to do it in .NET (VB.NET specifically). Here's how the code that works perfect from home (or from a a gateway that bypasses the proxy...not possible for production) looks like [code]...

View 1 Replies


ADVERTISEMENT

SharpSSH Progress And Rename A File On The Remote Server

Aug 23, 2010

Using the library to connect to a remote server and copy a file. I have the process working fairly well but have some smaller things which I cant seem to resolve as documentation for the library is fairly thin. I have two routines working. One using the Tamir.SharpSsh class and the other using the Tamir.SharpSsh.jsch class.

[Code]...

View 3 Replies

If / When .NET Support For SFTP

Jul 29, 2011

Does anyone know if/when .NET will support SFTP?

View 5 Replies

Proxy - Passing Data Via College Proxy

Oct 15, 2011

I'm making a application to use in college to retrieve my calendar and other things in VB.NET. But my college uses a proxy so when I connect my laptop I need to change the internet settings in my web browser to view web pages. how I would send requests via a proxy server in VB.NET? Or is there a piece of software that I can download which tunnels all connections or is there a setting in win7 does this?

View 1 Replies

VS 2010 : HTTPWebRequest.Proxy : Set The Proxy For A Web Request?

Nov 24, 2010

I'd like to set the proxy for a web request. However, when I say, for example, request.proxy = "x.x.x.x:xxxxx", it gives me the error "String cannot be converted to webproxy". How can I get around this and actually set the proxy?

View 2 Replies

Asp.net - SFTP - Upload Via Server

Mar 27, 2012

I've been working on a site to allow clients to sftp data files to us (using SharpSSH.dll) My solution works fine on my development machine but as soon as I move it to production server I am unable to upload. I know that the problem is because my code is trying to pick up a file on the server when it obviously doesn't exist there so I need some pointers on the best way to resolve this - i.e. how do I adjust my code to allow for an sftp upload from the client machine? The plan is basically to (and im not entirely sure that I am going about this the correct way) use my web server as a go-between so the client logs on and sftps a file to another server.

[Code]...

View 1 Replies

Control For Doing Ftp/sftp/ftpssl ?

Jul 11, 2010

Good vb.net ftp controls and there are a few, but 90% of those are highly priced. Can anyone recommend a good (free or super cheap) control for doing ftp/sftp/ftpssl? Preferably one with a good example application with it.

View 2 Replies

Make SFTP Connection (free)?

Mar 2, 2012

is there any way to connect sftp server and download files from specific folder.

View 2 Replies

Sftp Upload Open Source Using .net?

Mar 30, 2010

i tried the question that is asked here but not much could get from it. Does anyone know where to research or if has a project for sftp using vb.net?

View 1 Replies

Transfer SFTP Files In Program?

Jul 27, 2010

I am looking for a way to transfer files using SFTP (SSH FTP) and log and check for errors from within a new VB.NET console app. without purchasing any third party components.

View 3 Replies

Upload MS-EXCEL Files To SFTP In .Net?

Aug 12, 2010

How to Upload files (Ms-Excel) in SFTP server using VB.NET, without using any third party tool.

View 7 Replies

Connect To SFTP Server And Download Files?

Mar 15, 2012

i need connect to SFTP server and download files, searched everywhere but found nothing except non-free librarys..

View 4 Replies

VB2010 Class Library: Create A Static Library Instead Of DLL?

Jun 21, 2011

I have a Visual Basic Class Library project. It generates a DLL. Is there a method to generate a static .LIB to which I can do a static link?Alternatively, can I do a static link against a DLL?

View 6 Replies

.net - Proxy With Smtp?

Jan 16, 2012

Private Function SendEMail(ByVal sendTo As String, ByVal subject As String) As Boolean
Try
''# Dim cr As New System.Net.NetworkCredential("me073055", "me271288")
''# Dim pr As New System.Net.WebProxy("172.31.100.25", 3128)

[code]....

I am using the given code to send emails ...i am behind a proxy server..is there any way to give the proxy settings to the smtp client??If not then how do i send emails from behind a proxy server..??These are the settings i need to use to connect to the internet...i need to set this settings in my email client also.

View 1 Replies

Changing IP / Proxy Within VB

Nov 17, 2011

Is it possible to change the computers IP/Proxy within VB I have done some research but have come up empty.

View 2 Replies

How To Set Proxy To Null

Mar 8, 2009

I am using webclient to get and send various information through my vb.net application.All of the code works fine, except that whenever the webclient is used, it seems to lock-up the application (as if its going to crash) but then recovers after it has recieved/send the required data.I have googled around, and apparently i need to set the proxy to null (which is fine because i dont use a proxy anyway) but i dont know how do do this.Could anyone tell me how to set the proxy to null please?

View 2 Replies

Proxy For Network?

Apr 3, 2011

How to make a vb.net application that allows me to play online games using web proxies?

I tried

Private Sub enableProxy()
Dim proxy as new WebProxy("115.160.178.253:80")
WebRequest.DefaultWebProxy = proxy
End Sub

But that only works for httpwebrequests.

View 1 Replies

Proxy Only For WebBrowser

Jul 6, 2011

Is it possible to set a WebBrowser control to use a proxy connection without changing all the other browsers also changing to that proxy?To clarify, I have an application that is monitoring a website but refreshing often enough during the day that I'm getting "you've made too many requests, please try again later". I'd like to get around that by using a proxy. Unfortunately not all anonymous proxies can be trusted for secure information like credit card information, so I only want to proxy the webbrowser control and not proxy any other non-application browsers.There is a site that explains quite well how to change the proxy (link not included, not certain on whether link posting allowed) but it changes the global settings on all browsers.I've tried to use 3rd party components (ex IPWorks HTTP control) however that doesn't work well with script-heavy sites that load and update dynamically - it only gets the empty skeleton of the page before being populated from the server DB.

View 2 Replies

Proxy With Web Browser

Feb 6, 2009

I want to use Proxy with web browser. I got Code which i found some where in vb forums.[code]Its not Working for me.. Please Help me. Random Proxy is added correctly in Listbox.

View 17 Replies

Set Up To Support One Proxy?

Oct 6, 2011

I am attempting to make a browser. I have it set up to where it can support one proxy. My question, is, How would I make it to where the program would read from a text file, and use those proxies? 1 proxy per line?

View 1 Replies

SQL Query Over Proxy?

Mar 11, 2011

I have an application in vb.net which connects to a remote SQL Server. This works fine. But now I have the problem, that my application has to work in a network with a proxy.

My source-code for the sql query is at the moment:

c.ConnectionString = "server=xxx.xxx.xxx.xxx;uid=User;pwd=Pass;database=DBName; "
c.Open()
da.SelectCommand = (New MySqlClient.MySqlCommand("SELECT * FROM Table_S", c))
da.Fill(dt_S)

View 7 Replies

Use A Proxy IP In WebBrowser?

Dec 9, 2011

code to use a Proxy IP in WebBrowser?

View 2 Replies

Use Private Proxy With VB?

Mar 19, 2012

Right now I'm using:

Dim newProxy As New IEProxy
If newProxy.SetProxy(proxyip) Then
....

[code].....

View 2 Replies

Use Webbrowser With A Proxy?

Sep 20, 2011

I have strProxy and I want to load myurl.com and get the source code.

I've heard HttpWebRequest is the way to go for speed, since I will be loading many different webpages with proxies.

What is the simplest way to load the webpage with a proxy so I can then scrape the source?

View 4 Replies

Using SmtpClient Through A Proxy?

Nov 29, 2011

I've got a vb program that sends an email using SmtpClient. I can't seem to get the message to pass the Proxy server (ccproxy). When sending thru outlook, I set the SMTP server to the Proxy server address, and in the username field I add a #and the SMTP server name following the username. I have tried several differt things here, but to no avail. Here is a sample of how I am trying to send this:

emailuserid = "me@mysmtp.com#mail.mysmtp.com"
emailpassword = "mypassword"
smtpserver = "192.168.0.1"

View 29 Replies

VS 2008 : How To Use A Proxy

Sep 29, 2011

how to use a proxy ?I can use a proxy in vb with a webbrowser or httpwerequest but this not not use the proxy if i open my own browser :/What im wanting is to set a proxy in vb then open my own browser and i will be using the proxy.

View 11 Replies

Webbrowser That Can Use A Proxy?

Nov 5, 2009

I'm restarting a previous project and need to know how to load a proxy from a txt file and choose which proxy to use.

View 3 Replies

.net - Does Not Work WatiN With Proxy

Sep 14, 2010

I've been doing some testing with WatiN lately. For one of the tests I will need to use a proxy to perform the tests. I can set the proxy manually from IE, but I want to do it programatically. In the past I've had success setting proxy for webbrowser control using the code from here [URL] Unfortunately this does not work for WatiN.

View 1 Replies

Access A Website Using Proxy?

Dec 20, 2010

I have no idea how to do this, using a webbrowser in VB(the normal one or, micorosoft webbrowser?)or can this be done using a Webrequest or webclient in VB.net.[code]...

All I want is the website Im trying to visit to think that I visited it with this proxy's IP.I know this is possible because ther are websites where you only type the URL in a textbox and it starts surfing for you like("planetmuffin.com"). How can this be possible on a website and not on Vb.net?

View 2 Replies

Change Proxy Setting Of IE?

Aug 13, 2008

i want to change proxy setting of IE through code.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved