From my ftp clients I successfully upload by using:
from the command line, using
puts files to the wrong directory somewhere in the system - a non- public_html directory! I can find these in the DirectAdmin File Manager in public_html which contains:
- mydomain.com ( which has a folder with a red arrow next to it, a symlink?)
- any file I upload
from the command line, using
doesn't work, probably because its a link..and i get error:
The reason I want to use the command line (a perl ftpsync script) is to save updating either one file at a time, or the whole lot.
Any suggestions?
Code:
HOST: ftp.mydomain.com/
REMOTE FOLDER: public_html/mydomain.com/
from the command line, using
Code:
ftp://ftp. mydomain.com/public_html
puts files to the wrong directory somewhere in the system - a non- public_html directory! I can find these in the DirectAdmin File Manager in public_html which contains:
- mydomain.com ( which has a folder with a red arrow next to it, a symlink?)
- any file I upload
from the command line, using
Code:
ftp://ftp.mydomain.com/public_html/mydomain.com/
Absolute remote directory is /public_html/mydomain.com/
Could not change to remote base directory /public_html/mydomain.com/
The reason I want to use the command line (a perl ftpsync script) is to save updating either one file at a time, or the whole lot.
Any suggestions?

Last edited: