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
ADVERTISEMENT
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
May 27, 2009
I want to know how to connect to a remote system having some shared folder.(ex, \myservermysharedfolder).Actually, I was supposed to copy a particular file which is available in a shared location of a system. To copy that file, first i need to connect to that system with an user id and password.I know copying of file (), But not getting clear idea on how to connect to the shared folder. I have tried with System.Management class, but no use..
View 2 Replies
Oct 16, 2010
I need some pointers on which .NET technology to use for a project I'm working on. I'm building a "dashboard" digital signage WPF program that will display various things on a large monitor mounted high up in the ceiling of my office.What I need to be able to do is control certain aspects of this program from my desktop. For example, there will be a TV window in the application with signal being provided by a TV tuner on the mini-computer connected to the monitor in the ceiling. What I want to be able to do is make a remote control to be able to change the channel etc. I'm confused at what technology to use. I've read about remoting, WCF, and simple TCPclient classes but I'm confused at which one would be better. I'm thinking it may be better to use WCF because what I think I need to do is make a function that will change the channel and accept channel numbers, etc from the remote control program. Am I on the right path?
View 5 Replies
Apr 23, 2010
I'm developing a remote control program that uses a mysql database as the bound beetween the server and the client.The only problem is that cause of mysql being really varnuable to crashes i made it in a way that it checks for information every 10 seconds so things doesnt get messy. [code] For some reason after 10 seconds the connection is mysteriously aborted and the reader gives a fatal error.How can i extend the time limit to >10 seconds ?
View 3 Replies
Jun 21, 2010
How to copy folder from client to server using fso.
View 2 Replies
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
Dec 17, 2009
I have a XML file at a intranet URL as the primary source of config info(2 elements).I need to make a copy of this file on the local pc as a alternate/backup resource incase the intranet is down.I've been digging thru info on XMLReader & XMLWriter processes...but that is too much info to sort thru in a short timeline.
[Code]...
View 2 Replies
Jul 18, 2012
Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.
Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?
View 3 Replies
Apr 10, 2009
I get all Computers name from ldap and I wish to search a file at remote machine and copy it at any desitination. so I have following question1.How can we connect remote machine if they have user name and password?
View 1 Replies
Feb 19, 2009
I'm trying to copy a file to a remote computer using the IO.File.Copy method. When I attempt to copy the file, the method throws an UnauthorizedAccessException exception, which is understandable because I am not able to supply logon credentials. My question is: I have the logon credentials (Computer name, username, password) so how can I copy the file to the remote system without resorting to an overkill API call (namely WNetUseConnection)?
View 7 Replies
Dec 9, 2010
copy a file to a remote target where UNC connections TO the target might not be possible.However UNC connections FROM the target and BACK to the server will always be possible. So the plan was to use WMI to start a remote command shell (cmd) and use the copy command to grab the file. But this doesn't work. The following command works fine when executed manually from the command line of the target:
View 3 Replies
Jun 6, 2012
I am trying to copy upload files to remote server i get below exception.[code]...
View 1 Replies
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
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
Aug 14, 2009
I am developing an Application in VB.Net 2.0. I have a module which would copy files from the Local Machine to a shared folder on remote machine. This shared folder on the remote machine is an authenticated folder. So, after searching on the Internet I found the following piece of code.[code]Another point to note is that when I connect to the File Share using Windows Explorer and then try to execute the application, it works properly.I am not sure why I am getting the error when I do not connect to the Shared Folder using Windows Explorer.Do I have to set some property so that the Credentials passed in the authentication are used.I also checked some posts that suggested setting up Mapped Drive to the Shared Folder on the Local machine and then to copy the file using IO.File.Copy function. However, I cannot use this as this Remote Folder should be only accessed through the application and not in any other case by the User. The users will not even have the credentials to this remote Server as it will be configured by the admin.So, Is there any way in which I can set this up and transfer the files from local machine to a remote shared folder?
View 3 Replies
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
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
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
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
Jan 29, 2010
I have built this utility to upload/download files to an FTP server with a few options which will be taken from a command line. One of the options is going to be rename file. But this would be done on the remote side.
Basically, only tmp files will not be caught has hazardous on this FTP site during upload. So the file gets uploaded as tmp and will need to be renamed to .zip and vise-versa.
I know how to do this locally as it is not hard to use the moveto function, but how would I do this assuming, the ftp stream is already opened and read/write access is properly granted?
View 1 Replies
Feb 17, 2010
A certificate is required to complete client authentication.I am sending an XML file to a remote server.[code]
View 1 Replies
Mar 26, 2012
If I want to use a FolderItem verb like 'Copy to folder', then I have to somehow supply the name of the folder to which I want the object copied. How is this done. I dont understand how msdn can be so minimal on examples. Not one mention is made about this scenario anywhere on that vast resource. Hope someone here encountered this before and has the answer.
View 1 Replies
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
Apr 9, 2012
I have been struggling with this but to no avail. But I know I have to get this done. So have come here. I am making a new ASP.NET 'web application project'. I am using VB. The actual task is to access a couple of values from a remote ftp server and store them in variables. But there are a few concerns:
[Code]....
View 6 Replies
May 16, 2012
I'm using ReportExecutionService to create file on a different server on the network. The application does the required job if I run it locally, but fails to create file when I publish it. The error I get is- Access to the path '\servernameapth..xyz' is denied. The folder has full access to Domain users. Here is my code to create a report file on a different server via an ASP.net app.
[Code]...
View 6 Replies
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
Mar 13, 2011
I'd like to save data to a text file on a remote server I have. There are no security issues here, just the method.
Dim FILE_NAME As String = "123.456.789.012/variables.txt"
If System.IO.File.Exists(FILE_NAME) = True Then
Dim objWriter As New System.IO.StreamWriter(FILE_NAME)
[Code].....
I know it's not the most secure way of doing things, but the end data has to be in the txt format, otherwise I'd have used MySQL.
View 3 Replies
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
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