Thread: FTP Upload

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    18

    FTP Upload

    Ive been reading RFC 959 for a while now, and i just can't figure it out. im trying to connect to an ftp and upload a file, the following is the code that im using. however, it never actually uploads the file please help, thanks

    string LocalFile = "stats.txt";
    ftpMsg("USER " + UserName);
    ftpMsg("PASS " + ftpPass);
    ftpMsg("CWD public_html");
    ftpMsg("PASV");
    ftpMsg("STOR " + LocalFile);


    it connects to the ftp fine, its just the uploading, thanks
    smoose777
    im new

  2. #2
    cSharper
    Guest
    Upload the program, that snippet doesn't tell us much at all

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  2. Simple FTP Upload in C (In backround)
    By 108Stylez in forum C Programming
    Replies: 5
    Last Post: 10-31-2006, 03:41 AM
  3. FTP and Ident Server :: Winsock
    By kuphryn in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-13-2004, 08:16 PM
  4. [C++] FTP client problem (winsock)
    By Niekie in forum Networking/Device Communication
    Replies: 2
    Last Post: 10-19-2003, 09:23 AM
  5. FTP Server :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 10-03-2002, 07:14 PM