Transfer File Between Two Servers?

Mar 11, 2010

How I can send file from server to another server in network??

View 2 Replies


ADVERTISEMENT

Deleting A File Or Folder On Multiple Servers From A List Of Servers?

Sep 29, 2011

I don't really know how to code but am pretty good at tweaking. I'm trying to set up a script that I can run to delete a single file, multiple files, a folder or multiple folders on a list of servers.I was thinking that the script could read the files to be deleted from a .txt file and apply the deletion to a list of servers in another .txt file.Example:

FilesToBeDeleted.txt:
\(insert_server_name_from_list)c$Program FilesBINexample_file.rpt
or

[code].....

View 1 Replies

Copy Folders Between Two File Servers

Jan 6, 2012

I was assigned a project to create a program of cloning two file servers. It will copy all folders (about 500, one day one folder, there are about 200 files in each day) from one file server (S1) to another file server (S2). If any error occurred while in processing, program will send an email to someone.

View 5 Replies

Clear The Memory After Each Servers File Is Uploaded To The FTP?

Mar 26, 2010

I am writing a code that downloads alot of information from different servers. Puts the information in an excel spreadsheet, saves the sheet, and uploads it to an FTP page for each server. The code is running into an OutOfMemoryException. Is there a way to clear the memory after each servers file is uploaded to the FTP?Or is there another way to fix the problem with out adding memory to the server the code is running on?

View 4 Replies

Connect To Servers On Domain And Run Batch File?

Nov 1, 2011

I'm working on a little script to automate tasks across 12 servers, that are all on the same domain and have a similar setup. The tasks are to create a new folder, to then copy contents off the network into it, and to create a virtual directory in IIS 6 pointing to it. Ideally I'd like to log errors but that's a later concern. My approach was to write a VB Script to connect to WMI on each server in an array, then use it to run off a batch file. While the VBS works if I tell it to create a folder directly, it does not run (any part of) the batch file, nor give me any errors.[code]...

View 2 Replies

Automated Method Of Getting Disk Space On All Servers And Putting It In A Txt Or Csv (or Even Excel) File Once A Week?

Aug 3, 2011

[code].....

View 10 Replies

IF Works But Loop Required - Huge Network With 20+ File Servers All With Data Spread Out Across Them

Mar 4, 2011

My app is a fairly simple and im sure with the right knowledge this would take 2 minutes.. but sadly iv been at it for hours. So my scenario here is a huge network with 20+ file servers all with data spread out across them it can take hours to find the folder required.

Hence this app.. so it consist of a input box, progress bar and a button, using FileSystemObject I plan to interrogate a directory to see if a folder exists (folder specified by user input) however it need to check multiple directories, in my old app I used a list box which wrote to a text file allowing the user to add additional directories then using if statements proceeded through the servers.. however they have added that much that my IF's have ran out really because i know it should have been a loop

Imports System
Imports System.IO
Public Class Frm_main
Private Const FILE_NAME As String = "C:directories.txt"
Dim objReader As New System.IO.StreamReader(FILE_NAME)
Dim Lines() As String = IO.File.ReadAllLines(FILE_NAME)
Dim Dir As String

[CODE]...................

View 1 Replies

Using Background Intelligent Transfer Service To Transfer Files To Server?

Mar 20, 2012

I 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 Replies

Transfer All Data From An Excel File To A Notepad File With Comma Separator?

Apr 11, 2011

I have an excel file i want to copy all the row of that excel file into a .txt file.In the txt file the separator is comma.

View 8 Replies

Ftp File Transfer Using .net?

Feb 23, 2012

am writing the pgm using vb.net to get the file from reomte machine & store it on local machine using FTP . but am always getting an error like "remote machine returned an error :(550) file un avaliable (e.g , file not found, no access)

Dim reqFTP As FtpWebRequest
Dim filepath As String
Dim filename As String
Dim filename1 As String

[code]....

View 1 Replies

Transfer File In .net?

May 8, 2010

I want to read a file and write it into another file.

View 2 Replies

Determine ETA Of A File Transfer By TCP?

Apr 26, 2010

I wrote some code to share files throughout my network. The thing is that i don't understand how to determine how much the client has sent already and how much is left. I have posted my code below so you guys can see what I'm talking about.[code]...

View 1 Replies

Fast File Transfer Using .NET?

Mar 15, 2011

I need to transfer files from one server to multiple cients (using the internet) in the fastest possible way in .NET . What are the different types of transfer protocols which can be used in .NET or VB.NET so that the files are sent in a very short time ? I have tried using FTP, but that is slow because it requires authentication, handshaking etc. What i want to know is the options which we have in .NET for sending files in the fastest possible way between a server and multiple clients.

View 1 Replies

File Transfer On HTTPS?

Jun 22, 2010

I wrote a code to send file as below:

Dim objXMLDoc As New XmlDocument
objXMLDoc.Load("C:InetpubwwwrootXMLSchema_TestXML1773777.xml")
Dim blnResponse As Boolean

[code].....

View 1 Replies

File Transfer Using Zmodem?

Mar 21, 2011

I am writing a program in vb.net 2008 and need to be able to send and receive files using Zmodem through the a comport. I have search the net and have not found much to do with Zmodem in VB.net. I am already using the System.IO.Ports.SerialPort to send and receive commands through the comport but how to send or receive a file using the Zmodem protocol.

View 4 Replies

Transfer A File From One Computer To Another?

Oct 28, 2008

I want to transfer a file from one computer to another computer by giving the port number and IP address. There will be an other software waiting for the file to be received.

View 7 Replies

Transfer Data From 1 File To Another?

Aug 15, 2010

Basically I want to take My Client.Then for example Lets say in my client I have "A = 1" Then my 2nd file which has random data in it.So Client= My Client File = The File which I want in the end result

How could I Inject "A = TextBox1.Text" from Client to File.I heard it's called "End Of File" or something like that.

View 1 Replies

Transfer File Through Socket In WCF

May 3, 2012

I want to transfer the file through socket in vb.net using Socket .

View 1 Replies

Transfer From Listview To A .txt File?

Jun 17, 2009

the code I can incorporate in my application which will allow me to transfer data from my listview to a notepad or .txt file.

View 5 Replies

VS 2010 LAN File Transfer?

May 9, 2012

I'm studying how to use Visual basics 2010, and I have been asked to create a program that transfers a audio file to one machine, then plays that file when it receives it on the other machine. I have made a basic file transfer, but when I install it onto a computer, the server crashes for some reason. But it will work on some computers. Here is my code for the server:

I also have to make the program so that the client can click a button and then it will play a preset audio file. (example: User clicks button to play a fire drill)So to sum it all up, The server app goes onto the computer that will be playing the audio and the client app allows you to send audio files to it and play

[Code]...

View 4 Replies

Adding A Transfer File Function?

Jul 9, 2010

I am writing a chat program and im adding a transfer file function but Ive hit i bit of a snag..The way my program knows its a file coming and not a regular text message is i added a 3-6 bytes prefix depending on what is being sent.

[Code]...

Ive tried the copyto method but since my file byte array is empty it throws an exception. If i wasn't clear with something let me know and i will try to explain better.

View 1 Replies

File Transfer Tcpclient / Server

Nov 27, 2009

How would i send different types (.png/.bmg/.mp3) of file over a tcpconnection (server / client)

View 2 Replies

FTP Download - Transfer The File Over To Client

May 28, 2009

I'm encountering problems when i want to download files from my server to my clients. My client is able to connect to my server but it will never transfer the file over to my client and i am unable to solve it.

[Code]...

View 1 Replies

Ftp File Transfer Without Any Third Party Tools?

Feb 23, 2012

I am writing the code using vb.net for file transfer from remote machine to local machine with out using any third party tools

This my code

Dim reqFTP As FtpWebRequest
Dim filepath As String
Dim filename As String

[Code].....

View 1 Replies

Microsoft File Transfer Manager?

Oct 30, 2009

Is the FTM available for .net users to use on our web solutions or sites?I have some large install files on my site that the regular download will quit in the middle.the ftm at least allows for interruptions.I tried the FTP route, but turns out most users out there have no idea what ftp is. I saw a library that eluded to IDownloadManager, but I wasn't sure if this was the same thing as the ftm.

View 6 Replies

Transfer From One FTP To Another - Destination File Corrupt

Mar 17, 2011

I'm transferring from one FTP (a Dev site) to another FTP (a Test site). Spare me the thoughts of changing this process. In any case, here's my method:

Public Function TransferFile(originalFile As String, destinationFile As String) As String
Try
'FileStream for holding the file
Dim uploadRequest As FtpWebRequest = WebRequest.Create(destinationFile)
uploadRequest.Method = WebRequestMethods.Ftp.UploadFile
[Code] .....

This works perfectly for ASPX files and their .vb code behinds. When we try to transfer .DLL files, they show up on the server as 0 bytes, and sometimes actually transfer. The problem is that, despite being the same size as the original, they act as if they are corrupt.

View 2 Replies

Use Encryption While File Transfer Via Internet?

Jun 16, 2011

1. How much load or data size our custom encryption/decryption algorithm can handle? E.g. what's the limit of file size that normal encryption/decryption algorithm supports.

2. What's the best way to use encryption while file transfer via internet?

3. Where and when encryption and decryption has to apply while uploading and downloading content from internet(Hosting on client or server machines)?

4. What type of algorithms suites for above approaches?

5. How much time it takes to encrypt / decrypt data for 10 MB, 100 MB, 1 GB etc

View 1 Replies

Way To Transfer A File To Another Device Over Bluetooth

Jun 8, 2011

I was wondering if there was a way to transfer a file to another device over bluetooth using vb.net.

View 1 Replies

Asp.net - Server.transfer To Transfer Execution Of A URL

Mar 9, 2011

I'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).

View 2 Replies

Accessing UNC Share From Outside Domain For File Transfer?

Nov 2, 2010

I have an FTP Server outside of the domain (In a workgroup). I need to move files using an application called by the FTP client on the FTP server to a share within the domain using VB.net:

(System.IO.File.Move(SourcePath & Filename, TargetPath & Filename))Impersonation will not work neither will mapping a drive (As no user will be logged on)This is a console application that takes the above parameters.

View 1 Replies







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