Transfer SFTP Files In Program?
Jul 27, 2010I 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 RepliesI 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 RepliesHow to Upload files (Ms-Excel) in SFTP server using VB.NET, without using any third party tool.
View 7 Repliesi need connect to SFTP server and download files, searched everywhere but found nothing except non-free librarys..
View 4 RepliesI will use the Background Intelligent Transfer Service (BITS) to transfer files from a client (laptop) to a shared folder on a server within our local network.The problem is a very slow network bandwith, if we transfer a file, the other clients canīt work, all requests to other clients (application) or viewing internet pages needs a long time.My idea is to use BITS in my tool to copy/transfer a file from client to server, also I hope to get more performance for the internet requests.
View 2 Replieshow to transfer files from 1. computer to the computer with the program made in visual studio 2008 (visual basic)
View 3 RepliesWhen try to transfer files between 2 different pc but works fine when transferring file from & to the same pc. Here is the error I am getting
Writer.position must be non negative number.
Here is the server code
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
[Code] .....
is it possible to transfer files using vb.net? Cutting the files from a certain directory and copy it to another
View 2 Repliesunable to Transfering certain files
View 1 RepliesI have been working on a small program that I wish to eventually use to transfer small files over a LAN. I read the following article to get the basic concept of how to make a tcp/ip connection between computers. url... However my aim is to check the IP of the pending TCPClient before accepting it. My current code is below.[code]
View 1 RepliesHow can I retrieve a number of images from a directory on my website, and place them in a directory on my computer. An important consideration is, that this is not private, so these would be images in a public directory. One more thing. I would like to do this using an http transfer. I have never written anything like this before, so I am not even sure where to start.
View 6 RepliesI am trying to make file transfer program in vb.net 2008 for big files eg. 10 GB.i was able to code simple socket program to transfer files with small size by using Sockets but if the file is large then "File.ReadAllBytes(ComboBox1.Text)" command will not work cause it use lot of memory & if the file is really big i.e. 10 GB it give not enough memory error, so i made a loop that sends data in small amounts, but this give me a larger file size with repeated data at end of the file.
[code]...
1.How can i deploy my project to other computers and transfer all the files that i need? I know i do publish, but do i need to change any of my files setings, or do anyting inparticular get the files to the automatically deploy.for example how MS Office suppliers all file you need to do templates and stuff.
2.How can i tell the other persons to create a folder if they havent got one? my locations to work from is here, but no one will have the rimless data sheets folder and the shapes folder.C:Program FilesRimless Data SheetsShapes.
I need to transfer Recorded WAV Files betwenn computers. Now I want to transfer C:/Rec/Record.wav from Client to Server, then back, without the client that sent it take it. I know how to do that, the only problem is sending it. How do I do file transfer in winsock vb 10-11?
View 1 RepliesI'd like to take information from a text file I 've created so as each line in the file corresponds to one cell in a row in a grid using DataGridView. I'm having trouble doing that.[code]....
View 3 RepliesI need to write an app that transfer files and folders to others computers in my network vb.net.
View 3 RepliesDoes anyone know if/when .NET will support SFTP?
View 5 RepliesI'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]...
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 Repliesis there any way to connect sftp server and download files from specific folder.
View 2 Repliesi 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 RepliesI 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]...
I have made a Medical software writen in VBA and now I want"transfer" (?!) the same softwareto a Visual Basic program that can be run in a computer without Microsoft Office(Excel) installed. How can I do this? I dont want to write all theVBA program again because it is very large and full of spreadsheets and mathematical formulas.
View 1 RepliesI am trying to create a program to transfer GCode via RS 232 to a Fanuc controller, but I am unable to find MSComm / Microsoft Comm Control 6.0. I've tried - Add Reference > COM tab > but it is not listed in the component list.
Is there a link where I can download this? Is it possible to do this with the express edition?
I know there is software commercially available to do this ( predator, Cimplicity...), but I would like to perservere with VB as a learning excercise, & also this allows me to customise to my requirements.
I want to transfer the data in datagrid to excel in runtime in vb.net
View 3 RepliesOn the site below they tell me how I can use BITS (Background Intelligent Transfer System). The only problem is that the Microsoft.Msdn.Samples.BITS namespace doesn't exist in Visual Basic Express Edition. Does Anybody know how I can use bits using vb.net?
View 2 RepliesI'm using server.transfer to transfer execution of a URL to a dummy page which fetches information from the database. The trouble is that the master page interacts with the session.
global.asax:
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
' Fires at the beginning of each request
If Not (System.IO.File.Exists(Server.MapPath(Request.Url.LocalPath))) And Request.Url.LocalPath.ToLower
[CODE]...
Master page:
If String.IsNullOrEmpty(CStr(Session("SessionId"))) Then
Session.Add("SessionId", Guid.NewGuid().ToString)
End If
Page declaration: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="utilityCMS.aspx.vb" Inherits="utilityCMS" MasterPageFile="~/MasterPages/main.master" EnableSessionState="True" %>
Web.config snippet:
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="HttpModuleAggregator" type="XPIdea.Web.HttpModuleAggregator,xpidea.web.common" />
</httpModules>
I'm getting an error :
Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration><system.web><httpModules> section in the application configuration.
I should also mention that this same master page works elsewhere in the site. Session is used throughout the site as well (not just in the master page).
I have VB project and I tried to use PUBLISH feature.It seems to create nicely some kind of setup program, but the setup program does not ask where to copy files (it does not seem to copy filesto target machine "PROGRAM FILES".)Is this setup program somehow different from usual installers?
NOTE: I want that app files are installed to Hard disk( from USB stick source)Is the signing recommended or necessary? My App is pretty simple, its just using access DB + printer api, should I still sign?
I am trying to retrieve file details from files in the Program Files folder. I receive an error while trying to retrieve file details.
Dim sFileName As String = ("%ProgramFiles%Windows DefenderMSASCui.exe")
Dim Info As FileVersionInfo
Info = FileVersionInfo.GetVersionInfo(sFileName)
Msgbox(Info.ProductName.ToString())
I receive file not found error at 3rd line. But if I change the path from "%ProgramFiles%Windows DefenderMSASCui.exe" to "c:Program FilesWindows DefenderMSASCui.exe" it works fine.
What should I do if I want to retrieve file details from the path which includes a "%" character?
Having a slight permission problem with Win 7 I am guessing it will be the same on Vista but work fine on XP (yet to try)But my program is sitting in: C:Program FilesCompanyProgram And its trying to create new files alongside itself in the Program Files area but bombing out which I know is permissions. If I go there to create the file myself it comes up with a UAC prompt and when I hit allow it works fine but obv the program can't do that byiteslf so bombs out.Is there anyway I can over come that without the user having to grant admin rights to the program each time it starts or do I have to write data to another place?
View 4 RepliesI wrote a program to download and play AVI files the files are large in size and long time wise. I have the files playing as they are being downloaded but i can't see how long the file is or seek reliably. i was reading that the AVI headers are in the last 512kb of the AVI file *why would't they put it at the start* lol so my question is is there a way to download the last 512Kb of the file i'm downloading. i have the Bytes Read and Length of the file while its downlaoding i'm just not sure where to go from there, or how to do it atleast. If i had the length in time of the Avi file i could set the trackbar to be able to seek properly. or if someone has an idea how i could get the time of the video by using fps and some math i could prob do it that way too but idk how i would tell how i can find how many kb are in the fps i'm sure it changes so think that way is't going to be reliable. how to get the last 512kb would be the best option not sure if it can be done even.
View 4 Replies