ftp from cmd line

This is a discussion on ftp from cmd line within the Networking/Device Communication forums, part of the General Programming Boards category; two questions. is it possible to use the command line to transfer files from my computer to someone elses. if ...

  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.

  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 12:00 PM.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User caroundw5h's Avatar
    Join Date
    Oct 2003
    Posts
    751
    Thanks guys.

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, 01:41 AM
  2. Trouble replacing line of file
    By Rpog in forum C Programming
    Replies: 4
    Last Post: 04-19-2004, 11: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, 06: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, 02:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21