Sql Backup And FTP

Welcome Guest Search | Active Topics | Log In | Register
New Topic Post Reply
Remote folder FTP Options · View
MultiGen
#1 Posted : Wednesday, February 23, 2011 2:33:25 AM Quote
Rank: Guest

Groups:

Joined: 8/10/2009
Posts: 732
Having problems to use remote folder option under advanced FTP options. FTP works just fine, but I am unable to redirect to spesific folder on the FTP server. Have tried from explorer and other ftp-programs, and know for sure that the secutity setting are correct. Any idea?
ruslan
#2 Posted : Wednesday, February 23, 2011 9:31:35 AM Quote
Rank: Administration

Groups: Administrators

Joined: 8/10/2009
Posts: 368
The simplest would be to create a new ftp account where the folder you want to keep backups is on the top level. If you would like to explore the problem however, we'd need FTP access to your server for testing.
ruslan
#3 Posted : Thursday, August 18, 2011 9:35:56 AM Quote
Rank: Administration

Groups: Administrators

Joined: 8/10/2009
Posts: 368
I wanted to share one of the workarounds to make remote folder work on my FTP server.

/data00/backups/windows-servers/0/example.com/ #not working

I modified the path to:
/data00/backups/windows-servers/0/example.com/./ #working

Recompiled the password file and now it works using the subdirectories… I don’t know, but maybe the trailling “./” syntax tells pure-ftp to chroot the connection which means that a cwd to “/<dirname>” would work OK. As for why it didn’t chroot by default on the first box I don’t know… but happy it’s working now…

Chris
Quick Reply Show Quick Reply
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You can create polls in this forum.
You can vote in polls in this forum.