Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 14-04-2009
Member
 
Join Date: Apr 2009
Posts: 69
How to move images using site URL

Hi,

I have a little question regarding moving Images from one site to another, I have some images that i simply wanted to move to the other site but this with the help of site URL, i have read to some blog earlier related to it,but don't find that this will have do in the future, but today am in very need of performing such task so please provide some details to me.

Thanks
Reply With Quote
  #2  
Old 14-04-2009
Member
 
Join Date: Jan 2009
Posts: 120
Re: How to move images using site URL

You can try using the following code in your program to move images over the SITE URL.

Necessary changes you have to do it manually which are absolutely possible.

Code:
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        GetImage("http://mysite.com/fs_img/mysite/0506/logo.gif", "C:\Logo.gif")
    End Sub

    Private Sub GetImage(ByVal URL As String, ByVal SaveAs As String)
        Try
            Dim srv_request As System.Net.WebRequest = System.Net.WebRequest.Create(URL)
            Dim srv_response As System.Net.WebResponse = srv_request.GetResponse()
            Dim ImgStream As IO.Stream

            ImgStream = srv_response.GetResponseStream()
            System.Drawing.Image.FromStream(ImgStream).Save(SaveAs)
        Catch
        End Try
    End Sub
Reply With Quote
  #3  
Old 14-04-2009
Member
 
Join Date: Feb 2009
Posts: 79
Re: How to move images using site URL

  • Create the new location using one of these two options:
    1. If you will be moving your WordPress core files to a new directory, create the new directory.
    2. If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
  • Login to your blog.
  • Go to the Administration > Settings > General panel.
  • In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
  • In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
  • Click Update Options.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to move images using site URL"
Thread Thread Starter Forum Replies Last Post
Posting images from other site to own site and keep it legal? Mahalingam Technology & Internet 4 08-06-2011 07:56 AM
Having More Than One Site On Google AdSense, want to know how much money each site is making HoGaN 77 Technology & Internet 4 27-01-2011 10:15 PM
Site Map of SharePoint site in Visio 2007 GusFraba MS Office Support 1 18-06-2009 09:26 AM
SITE-To-SITE VPN using Windows Server 2003 Standard S H A R I Q U E Windows Server Help 9 03-01-2009 10:55 PM
Downloading multiple images from a site Zelgaro Customize Desktop 2 11-12-2008 05:53 PM


All times are GMT +5.5. The time now is 10:27 AM.