cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer between "CGI" and "Regular" spa

N/A

Transfer between "CGI" and "Regular" spa

Hi,

I've uploaded a load of files onto my "CGI" webspace where my CGI bin is but now I want to transfer them over to my "regular" space. Is there any way I can do this?
3 REPLIES
N/A

Transfer between "CGI" and "Regular" spa

not directley...

youd have to download all the files from the cgi (if you dont have them on your computer already) and upload them to the html server!

Andy Burton
N/A

Transfer between "CGI" and "Regular" spa

Sorry to disagree Andy... but, if you've telneted to to cgi server, you could use the command line ftp program to copy files directly from the cgi server to the homepages server.

In the following, I've written your input in blue and the machine's responses (either from your own PC or from a Force9 host) in brown:

[list=1]
  • Bring up a command prompt on your PC and telnet to the cgi.force9.net machine:
    C:\> telnet cgi.force9.net

    [Connecting]

    Linux 2.4.19-51um (shell1.cgi.force9.net) (16:01 on Sunday, 21 September 2003)

    login:
    <your user-ID>
    Password: <your password for the cgi machine>
    Last login: Sun Sep 21 15:50:26 from <your user-ID>.force9.co.uk
    <your user-ID>@shell1 <your user-ID> $


  • Now ftp to the homepages server:
    <your user-ID>@shell1 <your user-ID> $ ftp homepages.force9.net
    Connected to homepages.force9.net (212.159.8.1).
    220-PLEASE NOTE: If you have a non-subscription account you
    220-will only be able to login to this ftp server if you are
    220-dialled into our network.
    220-
    220-ALSO: If you upload a file whose size would cause you to
    220-exceed your allocated disk quota, it will be automatically
    220-removed.
    220-
    220 Force9 FTP Server #1 ready
    Name (homepages.force9.net:<your user-ID>):
    <your user-ID>
    331 Password required for <your user-ID>.
    Password:
    <your password>
    230 User <your user-ID> logged in.
    Remote system type is UNIX.
    Using binary mode to transfer files.

    ftp>

  • Now change to your htdocs directory (or any other that you want) on the homepages server and set the prompt mode off:
    ftp> cd htdocs
    250 CWD command successful.
    ftp> prompt
    Interactive mode off.
    ftp>

  • (This is optional) change to the directory on the cgi server that has your files/pages in:
    ftp> lcd <some directory>
    Local directory now /files/home/<your user-ID>/<some directory>
    ftp>

  • Now put(copy) your files/pages onto the homepages server:
    ftp> put *.html
    local: <filename1> remote: <filename1>.html
    227 Entering Passive Mode (212,159,8,1,235,121)
    150 Opening BINARY mode data connection for <filename1>.html
    226 Transfer complete.
    30 bytes sent in 0.0037 secs (7.9 Kbytes/sec)
    local: <filename2> remote: <filename2>.html
    227 Entering Passive Mode (212,159,8,1,235,121)
    150 Opening BINARY mode data connection for <filename2>.html
    226 Transfer complete.
    30 bytes sent in 0.0037 secs (7.9 Kbytes/sec)

    (... repeated for all the files copied)
    ftp>

  • Close the ftp session to the homepages server:
    ftp> close
    221 Goodbye.
    ftp> bye
    <your user-ID>@shell1 <your user-ID> $

  • Job done! So let's logout of the cgi server.
    <your user-ID>@shell1 <your user-ID> $ logout

    Connection to host lost.

    C:\>


    [/listShocked]

    That should cover it!!

    Regards

    Neil
  • N/A

    Transfer between "CGI" and "Regular" spa

    LOL... Shockedops: :roll:

    good work Smiley i was talking about ftp Cool