Craig Blackie
Craig Blackie

Reputation: 120

Uploading Files To Web Server Without Using FTP - VB.NET


My application stores data in a database and I want to be able to create a remote backup. However, my client's network blocks FTP.

I know there must be a way to upload files to a server without FTP as the Dropbox application works fine on their system, I'm just unsure as to what this method is. I've tried google but haven't had much success.

Hopefully someone out there can help me.

Thanks in advance,
Craig

Upvotes: 1

Views: 1563

Answers (2)

bensonsearch
bensonsearch

Reputation: 312

you can use a PHP script on the server to move the file and in VB.Net just upload it

My.Computer.Network.UploadFile("local path","remote location") 

then the PHP side

<?php if (!empty($_FILES["file"])){
move_uploaded_file($_FILES["file"]["tmp_name"],"images‌​/" . $_FILES["file"]["name"]);
?>

Upvotes: 1

Scott Savage
Scott Savage

Reputation: 373

I use Remote Desktop Connection to move files back and forth. This works if your server is a windows box.

Upvotes: 0

Related Questions