Results 1 to 9 of 9

Thread: site to site transfers

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    san francisco
    Posts
    12

    Default site to site transfers

    I have a need to do mulitple site-to-site transfers frequently.
    Using FlashFXP these always fail.

    Are Dathorn servers configured to block site-to-site FTP?
    Is there a workaround?

  2. #2
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,635

    Default

    The most reliable way to do this is directly via SSH either using FTP (or preferably SCP) on one server to grab the data from the other.

  3. #3
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,635

    Default

    However, if you submit a ticket, I can double check that this is enabled on your server.

  4. #4
    Junior Member
    Join Date
    Apr 2004
    Location
    san francisco
    Posts
    12

    Default

    ...geeze, I love this place.


    I will do both.

    "...directly via SSH either using FTP (or preferably SCP) on one server to grab the data from the other."
    Can someone point me toward an info source to get a background on doing the above?

    Many, many thanks for your help.

  5. #5
    Senior Member
    Join Date
    Sep 2005
    Location
    Russia, Nizhny Novgorod
    Posts
    315

    Default

    With SSH I'd just do something like

    tar -... public_html file.tbz && mv file.tbz ./public_html
    then

    wget domain.com/file.tbz && tar -xjf file.tbz
    and finally

    rm ./public_html/file.tbz
    Er... never remember all those tar switches bad memory. I've always proceeded like this on Dathorn and all the moves were quick and flawless.

    HTH, Z.

  6. #6
    Member
    Join Date
    Nov 2006
    Posts
    59

    Default

    To do this with SCP so that the transfer is secure..

    Code:
    tar cf public_html.tar public_html/
    gzip public_html.tar
    on the other machine
    Code:
    scp username@domain.com:/home/username/public_html.tar.gz .
    tar zxf public_html.tar.gz
    rm public_html.tar.gz

  7. #7
    Junior Member
    Join Date
    Apr 2004
    Location
    san francisco
    Posts
    12

    Default

    OK, you got me rolling. THANK YOU.

    Today I'll attempt to acquire a background in ftp scripting.
    (FTP commands found at: http://www.simotime.com/ftp4cmd1.htm )

    What I need to accomplish is a script to update many sites from a single template site. Each site is a replication of a CMS (DragonFly), which will be continually revised. What I'm hoping is that a single script can be created that refers to a text file list for the list of sites to be updated and the files to upload. A manual process would be fine, but in about a year this system of sites will number over 600. Any insights welcome.

    Many thanks again for your help.


    Below is a note for the forum archive regarding the original question, which fell below the radar of advanced users.
    Apparently site-to-site only works in 'secure' mode. So in FlashFXP site manager, each site needs to select the SSL options for "Auth TLS" (SSL may work too); check 'Secure site to site..." and "Turn off fingerprint checking...". And in the Options tab, UNcheck "Use Passive mode". These may not be the best but got the transfers going fine (after the server was updated to allow site to site).

  8. #8
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,635

    Default

    Quote Originally Posted by huh? View Post
    Below is a note for the forum archive regarding the original question, which fell below the radar of advanced users.
    Apparently site-to-site only works in 'secure' mode. So in FlashFXP site manager, each site needs to select the SSL options for "Auth TLS" (SSL may work too); check 'Secure site to site..." and "Turn off fingerprint checking...". And in the Options tab, UNcheck "Use Passive mode". These may not be the best but got the transfers going fine (after the server was updated to allow site to site).
    Glad to hear that you did get it working.

  9. #9
    Senior Member
    Join Date
    Sep 2005
    Location
    Russia, Nizhny Novgorod
    Posts
    315

    Default

    mystic, thanks, you should be right. I've just never got an experience with SCP and sensible enough data to care about it so much. I gonna take a look anyway.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •