Thread: ftp from cmd line

  1. #1
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751

    ftp from cmd line

    two questions. is it possible to use the command line to transfer files from my computer to someone elses. if the intiate the contact? can I open a cmd.exe window and do this.
    2nd question: does anyone know how to connect to another person's computer and use the tools on theirs in windows xp. I know there is some tool somewhere but I can't remember and I"m not quite sure how to do this.

    Thanks,
    btw everything is authourized. no hacking going on here. thanks.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

  2. #2
    Registered User
    Join Date
    Jul 2004
    Posts
    101
    Go to the command prompt (WindowsKey+R is the most expedient method) and type ftp. Then once you are in the ftp command prompt, type help for available commands.

    Provided that both computers are set up properly, powered on and connected through a network (the internet works for this), you can use a Remote Desktop Connection to take control of a non-local machine. Go to Start, All Programs, Accessories, Communications, Remote Desktop Connection. A dialog box will open up asking you for an IP address to connect to. When you're finished, be sure to Start, Log Off, Log Off and minimize the remote desktop to allow it to close itself rather than simply clicking on the Remote Desktop's X button to force a disconnect.

    edit: I appologize, I forgot to mention that after typing Windows+R, you need to run either cmd or command to open the command prompt.
    Last edited by Princeton; 07-31-2004 at 11:00 AM.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Something like
    ftp -s script
    allows you to put all your commands in a script for easy use
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  4. #4
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Thanks guys.
    Warning: Opinions subject to change without notice

    The C Library Reference Guide
    Understand the fundamentals
    Then have some more fun

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Imposing Line Numbers automatically in the C code
    By cavestine in forum C Programming
    Replies: 14
    Last Post: 10-15-2007, 12:41 AM
  2. Trouble replacing line of file
    By Rpog in forum C Programming
    Replies: 4
    Last Post: 04-19-2004, 10:22 AM
  3. Whats FTP
    By Stan100 in forum Tech Board
    Replies: 13
    Last Post: 01-22-2004, 05:10 PM
  4. getting cmd line options
    By trekker in forum C Programming
    Replies: 2
    Last Post: 05-16-2003, 05:20 AM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM