Quote:
Originally posted by Internet_Junkie
HI,
I finally got into the directory using the file manager, made changes to the file I was trying to upload, and when I clicked save I got a "file not found" page:
..../frontend/bluelagoon/files/savefile.html
so it couldn't find the savefile.html and the changes I made to my file weren't written. Grrrrrrr. I think I need to put a ticket in to the helpdesk.
Marci
|
Get and use an application named "putty" it works like telnet(port 23-unsecure-bad) but uses SSH(port 22-secure-good).
Delete the file that originally died on transfer.
Go look at the folders in question and their perms.
cd - change directory
cd /home/YourStuff/public_html
cd ../ - back one
cd ../../ back two, etc.
rm filename - deletes a file
rm -f -R foldername - deletes a whole folder with contents(be careful!)
chmod 644 filename - what most files should be
chmod 755 folder - what most folders and .cgi files should be
chmod may also be used as chmod -R for recursive use
ex..chmod -R 755 *.cgi or chmod -R 644 *.?ht*
at the command line "man whatever" will bring up a file on how to use the command ex... man cd
man cd - change directory
man mkdir - make directory
man rm - remove
man cp - copy
man mv - move
man chmod - change modifications
man chown * - change owner
man chgrp * - change group
man crontab - cronular table, a real good thing to know how to play with
The two with asteriks might be of interest to you as you stated that the folder/files in question were a sub-site, if another user space has them and you upoaded them, you now own them, not the file space they are in. this may cause problems but should not stop you as root from doing what you wish with them, only the file space owner should be effected. If you wish to play with files in a user space then:
su user
when prompted for a password
password: your root password
you are now that user
exit will bring you back to the root shell
If you need to edit
cd to the folder the file is in
type "vi filename"
the file will open - if the file does not exist it will be created
hit the "s" key - you will see -INSERT- at the bottom
you can now edit, the arrow/bs keys should work
when finished
hit esc to go back to command mode
type :wq that will write the file then quit(note the colin

a plain :q will quit without writing the file
:exit quits vi
Just one question?
Have you tried enabling "passive file transfer" for FTP
hope I did not induce command line overload
