Sending An XML File To A Remote Server
Feb 17, 2010A certificate is required to complete client authentication.I am sending an XML file to a remote server.[code]
View 1 RepliesA certificate is required to complete client authentication.I am sending an XML file to a remote server.[code]
View 1 Replieshow to send a log using vb.net console app to a external server? I have the application sitting in a store oulet, then I need this application to send over a log file.
I have a couple of ideas.. one is using a tcp listener and sender, then the listener logs it over in the server.
Another is using a ftp send.
but I would prefer it to be coded in the program itself.
I want a quick and easy way of sending stuff from my window forms to my remote SQL server, my remote sql server allows remote connections to my IP address. How can I do this? I also need to return a result, either true of false.
View 6 RepliesI am trying to copy upload files to remote server i get below exception.[code]...
View 1 RepliesI 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?
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 RepliesI 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]....
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?
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]...
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.
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]...
Does My.Computer.Network.DownloadFile work with FTP? When I attempt to use it, I get the exception: "The remote server returned an error: (500) Syntax error, command unrecognized."
Here's the code I'm using:
Dim UpdateAddress As String = "ftp://xxx.xxx.xxx.xxx" & lbDownload.Items(X).ToString
My.Computer.Network.DownloadFile(UpdateAddress, BasicPath & lbDownload.Items(X).ToString, "", "", True, 10000, False, FileIO.UICancelOption.ThrowException)
The FTP server is IIS6.
I have a windows app in vb.net , i am trying to read a xml file from my server(url...).I am able to read abc.xml . now i have a requirement to show abc.xml in a rich text box in vb.net and then i have to show node and its value in combobox. I am able to do this with a directory(suppose that file is in C:/abc.xml)[code]...
View 1 RepliesI 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 RepliesI am using VB.net code and SQL server 2005.I am havng below code for sending email in my vb.net code.
Protected Sub ibtnSendInvites_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ibtnSendInvites.Click
Try
Dim emailList As New List(Of String)
For Each curRow As GridViewRow In GridView1.Rows
[code].....
Now my problem is that some time if emailaddress is not valid or SMTP server is responding my application get hangs. I want to log my errors generated by my SMTP server in table or any log file it would be good if I can send back email to admin with the details of error occurred.
I planing to develop an application which can connect any remote server and pick the configuration information from server and show it in my desktop.
View 4 Repliesthe remote server returned an error: (503) server not available m getting this error...wen i m trying to extract email id from a webpage...
View 2 RepliesUsing vb.net 2005 - FtpWebRequest for ListDirectory always gets 550 error The remote server returned an error: (550) File unavailable (e.g., file not found, no access).
On both FTPListDirRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectory
FTPListDirRequest.Method = System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
[Code]...
remote server returned an error:(503) server not available-vb.net
View 5 RepliesI want to build an application, which can remote access to SQL Server in Server Machine.I used to build one, and it also can access to SQL Server in other pc. But when i promote it to become a Server(to become a Domain Controller). My application has never access to SQL Server. I don't know what to do now?
remember: I want to build an application, which is accessing to SQL Server in Window Server(Client/Server Application).
posted again but this time its regarding both the webclient and the web reuqest giving me this error :S
View 1 RepliesI've found a few examples of using vb.net to access an sql database, so far none of them have worked . They all involve using DataReaders. Maybe its the fact that the sql db is not on the same machine as the application.I was just wondering if anyone had a more comprehensive example of using VB.NET to access a remote sql server.
EDIT:I've received a few helpful comments an replies already. So far my connection string looks like:
"server=sqlblah.myhost.com;uid=myuser;pwd=pass;database=testdb"
Probably also good to mention their is no editing of the tables a this point, just reading.
How can I connect to a database using sql server 2000 and stored in another PC with vb net (still in 1 LAN)?So that PC only stores the database, and another PC store the user interface and business logic.Is it related to the connection strings, on the datasource, we just put the IP address for that remote sql server?
View 3 Replies* Using windows application i am trying to connecting remote server(PC), for this i have servername,uid/pwd.
View 1 RepliesI want to understand the concept of connecting to a remote PC or server. I'm working on an app that will connect to a remote server. Read a value from a registry key and then display the results in a text box. It will also connect and search for a specific log file on a server. I understand how to read the files. I'm just not sure how to connect to a machine remotely if I have valid credentials. There seems to be sever ways to accomplish this. I want the most efficient way using vb2008.
View 3 RepliesI'm been learning about connection strina I have been able to succesfully connect to a sql database stored locally on my Pc.The next logical step would be to connect to a database stored on a remote server. My question is does anyone of a sql database ( or any other type of database ) which can be openly accessed by the general public. Does anyone know if a web hosting service would allow me to remotely connect to a sql database ? Could I for instance upload my database onto a web hosting service and try connect to a remote database that way
View 1 Repliesi am having alot of trouble finding the source code to establish a connection to a remote sql server ( at my university) for vb. All i have is the IP adress and the username and password to the database. I tried coding it with a sqlconnection, sqlreader and a command to execute the statement with no luck.
View 2 RepliesI have looked into this for a while now with no success. out or lead me in the right direction. I am trying to control my application from an apache web server either locally or remotely.
View 3 Repliesi'm trying to connect to a website using httpwebrequest() in a VB.NET application
It is working fine for facebook website.
But when i try to connect to jsp coded sites. it is displaying "The remote server returned an error: (404) Not Found."
Busy with vb2010 and we are busy to communicate with a server on a certain ip address. This server is sometimes sleeping and we can't communicate with the server in this situation.
View 2 Replies