Copy The Client Log File To Common Path In Server

Dec 2, 2010

In our project logs files are stored in clients local only . So during any production issues we have to be waiting till they provide us the log file. What is the best way to copy the log file from clients local machine to some common path in one of our servers .

View 2 Replies


ADVERTISEMENT

Copy File From Client To Remote Server?

May 7, 2010

I'm trying to upload a file to a remote server by using vbscript

below is a code :

Dim fso, f, myFile
Set fso = CreateObject("Scripting.FileSystemObject")
myFile =$URL

[code]....

the problem is with this code i can copy the file only in the same PC but it didn't work when i try with different machin i mean from client to server?

View 3 Replies

Copy Folder From Client To Server Using Fso

Jun 21, 2010

How to copy folder from client to server using fso.

View 2 Replies

Writing A Program With 1 Client And Server Where Client Side Creates A Text File

Dec 1, 2008

I have been reading through Atheists posts in regards to client-server and TCP client/server connection's. But how do i go about writing a program with 1 client and server where the client side creates a text file.Once the server sees there is a text file it connects and downloads it to itself or the client pushes the text file to the server.Once on the server i will read the text file and put its info into a sql db.

View 14 Replies

Delete File On Server From A File Path From A Sql Database File Path?

Feb 4, 2010

I am having a big problem with deleteing a file form the server. I have the filename for a image stored in my SQL database. the problem is i am getting an error of "Illegal characters in path. " Here is the code below:Everything is working fine until the delete command.

Protected Sub DeleteButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim tmpEquipID As String = Request("EquipID")
Dim tmpImageID As String = (CType(FormView1.FindControl("ImageIDLabel"), Label).Text)
Dim d As New equippicsDataContext

[code]....

View 3 Replies

VS 2008 TCP Server / Client - Client To Send The Server 4 Numbers - Depending On The User's Choice

May 9, 2009

how to create a client/server... But I couldn't... I don't want anything fancy. Just want the client to send the server 4 numbers, depending on the user's choice; after that, the server would turn off the pc, restart it, etc. It all depends on the number received. Is there a rather "simple" way to do it? If it's not to much trouble you could use Atheist's example. (Btw I don't understand the code and, yes, I've checked on [URL])

View 9 Replies

VS 2010 : Send Data From Client To Server (encrypted) And The String Sent From The Client Is Not The Same As Received From The Server?

Jun 27, 2011

Hey guys, I am trying to send data from client to server (encrypted) and the string sent from the client is not the same as recieved from the server. I've been killing my brain for hours to get this to work but I cant manage. Im converting everything to Base64 string.

Client:

Public Sub SendMessage(ByVal msg As String)
Try
SyncLock myclient.GetStream
sw = New IO.StreamWriter(myclient.GetStream)

[code]....

View 4 Replies

Copy File To Client Machine

Nov 6, 2009

We have a requirement to copy a .txt file into the client machine and open the file using notepad.exe.

We develop our application using MS Visual Studio 2008 VB .Net.

View 3 Replies

VS 2005 How To Grab File Path From Client Pc To Web Service

May 19, 2011

somebody tell me the way to grab the file path from Multiple clients (Forms) to web service (acts as server) in VB.net?

View 2 Replies

Error While Copying File On Remote Server With Server Path

Jun 6, 2012

I am trying to copy upload files to remote server i get below exception.[code]...

View 1 Replies

Copy File / Directory To New Path?

Jul 6, 2011

How can i insert a pause/Resume command when copying files/directories?

View 3 Replies

Application Need Microsoft Common Language Runtime At Client's PC

Feb 23, 2011

I try to install my program (Run from setup) in a pc. Operating system Windows 7 Professional edition, it says to run the applciation , the application requires your system to be updated to Microsoft common Lanuage Runtime version 4.0.21006.0. What does it means?

[Code]...

View 3 Replies

Copy A File From A UNC Path To Local Destination?

Jun 21, 2010

I want to copy a file from a UNC path (ex: \comnamedirnamefilename.txt) to a local destination (c:outputdir)

I have no compile errors, but when I run it, it throws an exception (System.IO.DirectoryNotFoundException). I'm absolutely sure the destination existst (it's referencing the destination directory). I've tried doing it with system.io.file.copy(source,dest)and my.computer.filesystem.copyfile(source,dest). Same result either way.

View 5 Replies

Correct Path For System.IO.File.Copy?

Sep 10, 2011

i got to do a program in VB.NET that copies a file from a pc to a usb device. I use the method System.IO.File.Copy(FileToCopy, NewCopy) in which i have to specify the destination path. The problem is that when i change pc the destination can change: for example in my pc i read my USB pendrive o G: and on my friend pc i read the usb pendrive on E:. How can i solve that? May i specify a general path to my USB giving it a name or anything similar?

View 5 Replies

Client-Server-Client Multithreading - Instant Message Another Client

Jun 21, 2010

We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.

[Code]...

View 2 Replies

Copy An Embedded Resource File To Destination Path?

Apr 22, 2011

copying an embedded resource file to destination path? Initially i tried CType(GetObject("program.exe")) as the source destination for IO.Path.Copy to copy the embedded resource to a destined path, however this produced errors.

View 12 Replies

Create Client-server App, In Which Client Can View Files On Server?

Nov 15, 2011

basically i just want client to say "C: emp" ENTER

then, server must reply with all its files in c: emp

View 1 Replies

Communications :: Client-server Communication Program - Click On CmdListen In The Server Form And CmdConnect In The Client Form

Jul 23, 2008

The problem I have is: When I click on cmdListen in the server form and cmdConnect in the client form,both programs won't respond and they crash for some reason I don't know.

Client source code:

Code:

Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

View 3 Replies

Get Pdf.file From Server And Run In Client

Sep 16, 2011

I have trouble in running my program. I don't have yet much idea on how to this. I want to view the pdf file from the server and display it in the client.I tried to use winsock in vb.net but could not find a clearer example regarding my problem.

View 5 Replies

Search The Local Disk For A File Type And Copy The Full Path To A New Location?

Feb 1, 2010

How can I search the local disk for a file type and copy the full path to a new location. I am trying to write a backup program that will copy all pst files to the server while maitaining the structure, so if there is a pst located in "C:pstuserpersonal1.pst" it would create the folder "\serverpstuserpersonal1.pst" and copy the file to the correct location. I would need it to do this for each pst on the hard drive no matter the location. The user running the program will not have admin rights, so it will need to skip files it cannot access.

View 13 Replies

How To Tranfer A File With Server/client

Mar 19, 2009

Anyone know how to tranfer a file with server/client I found some on google but the code errors on me or it won't send the whole thing.

View 6 Replies

Access Or Run File From Server In The Client Application?

Sep 15, 2011

I would like to ask some advise for the best thing to do regarding with this matter. Im working with a client-server application and I should run a pdf file from the server in the client application. The file name is the only saved in the database(MySql) and the full path is in the server. What technique should i used i order to access this file in the server., I planned to use the winsock. Im working in vb.net.

View 1 Replies

C# - POST File - Not From Client Machine, From Web/ftp Server?

Jan 22, 2010

I'm using .Net. Is it possible for a web form to upload an image from a web or FTP server? The files I need to submit are on the web.

View 1 Replies

Client Server Application That Uses File Sharing

Mar 3, 2009

I want to build an application(the client and server) that the clients would be able to see and modify only certain files on the server depending on their credentials. For example, a specific client can read/modify a word file, but another cannot. And the server should specify which client has which rights. After a client has made any change in a file, every other clients should be notified by email. I've read some articles about .Net Remoting but I still don't know how to make a client see/modify files on the server.

View 1 Replies

Download The File Into The Server To Client System?

Feb 26, 2009

How I Can Download The File Into The Server To Client System In Vb.Net Appliction

View 1 Replies

Make A Client To Server File Transfer?

Apr 7, 2011

I really need to know if its possible because I'm making a messaging client since me and my friend find believe MSN is getting buggier. I've looked on how to do it but none of them worked for me, or were server to client. I want to make it client to server to clients but I don't know how! I know I shouldn't tell you to give me code but maybe give me a few tips on this. Me and my friend share files nearly everyday.

View 11 Replies

Make A Client/server File Sharing Through Lan?

Sep 8, 2011

links or Procedure how to build a client/server and file sharing through lan because my friends needs a reference for That

View 4 Replies

Send A Image File From Server To Client?

Apr 30, 2010

I want to send a image file from server to client?i am using this code for sending but i can't send the image....... and i also need some receiving code.

1.Public Sub SendImage(ByVal sndImg As String)
2.Try
3.Dim ns As System.Net.Sockets.NetworkStream
4.Dim client As System.Net.Sockets.TcpClient

[code].....

View 3 Replies

Server/Client - Basic Tcp Server/client Application

Mar 30, 2009

I've basically made a basic tcp server/client application. The thing is that I'm behind a router and so will be the other people that use my clients. I've had to use port-forwarding or the software "rinetd"to run quite a few applications online.

Let me explain: I'm on a lan network that connects to the internet. Whenever I want to host a server - for instance a basic ftp or http server. If I give my external IP to anyone, they won't be able to access my server. Even if I portforward, it doesnt work. I have to use rinetd here. For other applications, portforwarding works. I'm not sure how these things work at all.

Anyway, my issue now is that I have created this server/client application. I'm having serious doubts that if I run the server, I'll have to either a) portforward or use rinetd to get people to connect to my server. IF I need to portforward, that's fine. However, using rinetd would really suck... My 2nd concern is as follows: IF the person running the client is in a similar situation as me (i.e he's on a lan that has a router which connects to the net), will he have to portforward or use rinetd as well? If he portforwards that's fine. But I don't think I could get people to use rinetd.... Also, if there are more than 1 person on a lan trying to connect to my server, there is a big problem when they try to portforward: they will only be able to allocate one of their internal ip to that port, and the others won't be able to connect, right? How does this work? I mean, I use many softwares like msn/skype/(some games)/firefox that do not need portforwarding/rinetd. Yet they work. My housemates(other people on the lan) use the same softwares, and it works fine. There's no clash/probs watsoever How come these run fine?

Anyway, back to my issues. Given I have no knowledge about how the above work, I was wondering whether there was a way to host a vb .net server application on an external website (external to my house) so that I might *avoid* the above mentioned problems, and to what extent that would be a sound solution.

View 11 Replies

File I/O And Registry :: File Copy To Server Of Differnt Domain?

Apr 24, 2009

I have a program that I copy a file from one server to another. This has been working well if the servers are on the same domain.I now need to copy a file to a server on a different domain. If I were to do this manually it would prompt me for my username and password.

I don't see any way to put a username and password with doing an IO.File.Copy. Is there a better way to do this?IO.File.Copy(strSource, strDest)

View 1 Replies







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