joekendall
asked on
Transfer file to remote computer
A little background on what I am trying to do. I have a file that I will create. I need to transfer that file over a dial-up connection to a server. The server can be connected to through Remote Desktop on Windows XP.
I would like to transfer that file programmatically to the server over a dial-up connection. I have seen plenty about FTPing a file to a FTP server but the server is not a FTP server.
Any suggestions on how to accomplish this? I don't know enough about communication protocols to know the best way to handle this. Can the server receive a file without "looking" to receive a file (not needing to have a program running on the server to receive communication from the client)? You can use something like a VNC viewer, etc. to transfer files. How is this communication done and would I use the same?
Thanks!
Joe
I would like to transfer that file programmatically to the server over a dial-up connection. I have seen plenty about FTPing a file to a FTP server but the server is not a FTP server.
Any suggestions on how to accomplish this? I don't know enough about communication protocols to know the best way to handle this. Can the server receive a file without "looking" to receive a file (not needing to have a program running on the server to receive communication from the client)? You can use something like a VNC viewer, etc. to transfer files. How is this communication done and would I use the same?
Thanks!
Joe
ASKER
I have an IP address that I connect to using the Remote Connection. How can I send a file to that IP address? I would need to connect to the remote computer sending the IP address to connect to and the user id and password for authentication. How can this be done?
Joe
Joe
Using VNC would be very difficult indeed, and its overkill for what you're trying to accomplish. For a simple file transfer, you could use FTP, as you said, or you could very simply create a VB file transfer program using the winsock control. There are plenty of examples of this on the internet, just do a google search!
Regardless of the protocol you choose, the server will have to be "looking" (listening) for connections from other computers - be it FTP, VNC, or some other protocol. Let us know what you decide...
Regardless of the protocol you choose, the server will have to be "looking" (listening) for connections from other computers - be it FTP, VNC, or some other protocol. Let us know what you decide...
If you would be willing to invest $149.00 on an OCX, I can give you an HTTP solution that I've used. Let me know.
Actually, I found a FREE module. If I understand correctly, you want a BV application to programmatically uploda files to a Microsoft Server via HTTP. Is this correct?
ASKER
I don't know what protocol that VNC or the Remote Desktop use, but I am using them to transfer files at this time. I do basically need to take a file from a home computer and transfer the file via the internet to a Windows 2000 server. I believe VNC and Remote Desktop take care of all of the plumbing when it comes to transferring files. I need to tap into that somehow and transfer a file to a specific drive on the Remote server.
Joe
Joe
I am not familiar with VNC and Remote Desktop. The server is a Windows 2000 server so the server code I can construct for you will work. However, will the people running the server install code to accomodate your uploads?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi "joekendall",
As I indicated earlier, I have the code you require, given that you can gain access to the remote Server. Nonetheless, it now appears as though YohanShminge and/or ___XXX_X_XXX___ are prepared to assist you, so I will bow out and wish you all the best.
Good luck,
Robert
As I indicated earlier, I have the code you require, given that you can gain access to the remote Server. Nonetheless, it now appears as though YohanShminge and/or ___XXX_X_XXX___ are prepared to assist you, so I will bow out and wish you all the best.
Good luck,
Robert
ASKER
The Windows 2000 server does have VNC installed on it. Is there a DLL, etc. that I can use to communicate with the VNC on the Server?
Also, thanks for the education in the sending and receiving of data. I see that the server has to have a program listening for the client to send the data.
RobertCezar, please feel free to add your comments. I believe the VNC may be the way to go since it is already configured to listen for files to be passed to it.
Joe
Also, thanks for the education in the sending and receiving of data. I see that the server has to have a program listening for the client to send the data.
RobertCezar, please feel free to add your comments. I believe the VNC may be the way to go since it is already configured to listen for files to be passed to it.
Joe
Hmm, I now understant VNC a bit better. I was confusing it with VPN ;-)
I've searched the internet a bit, but I cant seem to find much info on using VB to work with VPN. (Just dozens of links to WORTHLESS pages with the title "access remote computerr using visual basic code")
I dont think this is the way to go...It would be easier to design your own program as ___XXX_X_XXX___ has stated. We can help you with that too!
I've searched the internet a bit, but I cant seem to find much info on using VB to work with VPN. (Just dozens of links to WORTHLESS pages with the title "access remote computerr using visual basic code")
I dont think this is the way to go...It would be easier to design your own program as ___XXX_X_XXX___ has stated. We can help you with that too!
ASKER
Let me see what my employer thinks about another program on the server running.
Thanks for all the comments and help so far.
Joe
Thanks for all the comments and help so far.
Joe
ASKER
The employer basically cancelled that part of the job. So I split the points.
Thanks for the help!
Joe
Thanks for the help!
Joe
"NewVBTerm.exe is a sample that demonstrates various MSComm control techniques that include answering the modem, simple text file transfer, data receipt and processing, packet reassembly, and use of the OnComm event."
http://support.microsoft.com/support/kb/articles/Q262/8/83.ASP