Problem uploading to server....Please help

Discussion in 'Site & Server Administration' started by HideIp, Nov 22, 2007.

  1. #1
    Hi everyone,
    I run a forum which has been up for over 2 years now. For the past 2 years I was on shared hosting but recently switch (beginning of October) to a vds. Anyways my buddy transferred all the files and the site runs fine. However, I cannot seem to edit the home page. I have tried so hard but nothing seems to work. I used to update the homepage every week, by just editing it in my ftp program using notepad. Now when I go to edit it, I can, however when I then press upload nothing happens even though it appears as I uploaded it. I honestly cant figure out whats wrong. Can someone please help me? I appreciate any and all help. Thankyou and happy turkey day. :)
     
    HideIp, Nov 22, 2007 IP
  2. harrysmith

    harrysmith Well-Known Member

    Messages:
    466
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Please check your file permission for the page your are uploading, may be file permissions have changed.
     
    harrysmith, Nov 22, 2007 IP
  3. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What messages appear in the log file in the FTP client?
     
    jexxie, Nov 23, 2007 IP
  4. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #4
    try inetrnet explorer

    In address bar put

    ftp://yoursitename.com

    From file menu choose login as

    After that you will see folders

    Go to the desired folder

    copy files from local disk and paste into ftp window

    Regards

    Alex
     
    kmap, Nov 23, 2007 IP
  5. HideIp

    HideIp Active Member

    Messages:
    509
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Guys, thanks for the advice and feedback. This is a log of what I get in my ftp program when I go to edit the homepage.

    [11:28:06] 230 Login successful.
    [11:28:06] SYST
    [11:28:06] 215 UNIX Type: L8
    [11:28:06] Detected Server Type: UNIX
    [11:28:06] FEAT
    [11:28:06] 211-Features:
    [11:28:06] EPRT
    [11:28:06] EPSV
    [11:28:06] MDTM
    [11:28:06] PASV
    [11:28:06] REST STREAM
    [11:28:06] SIZE
    [11:28:06] TVFS
    [11:28:06] 211 End
    [11:28:06] PWD
    [11:28:06] 257 "/"
    [11:28:06] CWD /public_html
    [11:28:07] 250 Directory successfully changed.
    [11:28:07] PWD
    [11:28:07] 257 "/public_html"
    [11:28:07] TYPE A
    [11:28:07] 200 Switching to ASCII mode.
    [11:28:07] PASV
    [11:28:07] 227 Entering Passive Mode (208,109,163,16,160,77)
    [11:28:07] Opening data connection to 208.109.163.16 Port: 41037
    [11:28:07] LIST -aL
    [11:28:07] 150 Here comes the directory listing.
    [11:28:07] 226 Directory send OK.
    [11:28:07] 2160 bytes transferred. (22.4 KB/s) (94 ms)
    [11:28:38] NOOP
    [11:28:38] 200 NOOP ok.
    [11:28:47] TYPE I
    [11:28:47] 200 Switching to Binary mode.
    [11:28:47] SIZE index.html
    [11:28:48] 213 6364
    [11:28:48] MDTM index.html
    [11:28:48] 213 20071004194051
    [11:28:48] No rule matched. Default Action="Ask".
    [11:28:50] PASV
    [11:28:50] 227 Entering Passive Mode (208,109,163,16,236,0)
    [11:28:50] Opening data connection to 208.109.163.16 Port: 60416
    [11:28:50] RETR index.html
    [11:28:50] 150 Opening BINARY mode data connection for index.html (6364 bytes).
    [11:28:50] 226 File send OK.
    [11:28:50] 6364 bytes transferred. (36.1 KB/s) (172 ms)
    [11:28:50] MDTM index.html
    [11:28:51] 213 20071004194051
    [11:29:06] PASV
    [11:29:06] 227 Entering Passive Mode (208,109,163,16,113,85)
    [11:29:06] Opening data connection to 208.109.163.16 Port: 29013
    [11:29:06] STOR index.html
    [11:29:07] 553 Could not create file.
    [11:29:07] 0 bytes transferred. (0 bytes/s) (15 ms)
    [11:29:07] MDTM 20071123162905 index.html
    [11:29:07] 550 Could not set file modification time.
    [11:29:07] Transfer failed. Use the Transfer Queue for automatic retries.
     
    HideIp, Nov 23, 2007 IP
  6. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Make sure that the public_html directory is owned by your username, and has permissions set that'll allow you to create / modify files within it.

    If you have Linux shell access, this would be accomplished like sp:
    chown -R username: public_html
    chmod 755 public_html
    Code (markup):
     
    jexxie, Nov 23, 2007 IP
  7. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The permissions on the file/folder are set wrong. Chown the /username/ folder to your username and change the permissions on public_html to 755
     
    inworx, Nov 25, 2007 IP