Zen Cart Logo
Forums / General Questions / Will some FTP programs really "overwrite" ?

Will some FTP programs really "overwrite" ?

Locked

Views: 1,308

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Oct 2006, 1:28 AM
#1
zami avatar

zami

New Zenner

Join Date:
Feb 2006
Posts:
39
Plugin Contributions:
1

Will some FTP programs really "overwrite" ?

Do all FTP programs handle "overwriting" the same way gFTP and Filezilla do?

As an example:
If I have

folder/subfolder/one
                /two
                /three

allready on my website, with gFTP or Filezilla (the only FTP programs I'm familiar with) I can then upload

folder/subfolder/four
                /five

and though my FTP program will ask "okay to overwrite?" it doesn't actually overwrite any directories, it simply adds to them, so my end result is

folder/subfolder/one
                /two
                /three
                /four
                /five

Old AND new files all present and intact.

Is this how all FTP programs work?

I'm asking because I've got a template I would like to submit, and I'm trying to decide on the simplest way to explain installation.

Since the template has files in both
includes/languages/english/TEMPLATE
and
includes/templates/TEMPLATE
it would be easiest to just say "upload the includes directory to your ZenCart main directory". But if some FTP programs would then delete directories or files allready IN the includes directory... well... that would be horrid.

Thanks for any help!

-zami

21 Oct 2006, 1:36 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,606
Plugin Contributions:
0

Re: Will some FTP programs really "overwrite" ?

If your FTP is not overwriting the files properly, then it is probably a file ownership issue.

The proper way to package a contrib is to begin with the /includes directory and only have the sub-directories and files ( in their proper structure) needed to make the overrides

21 Oct 2006, 1:47 AM
#3
zami avatar

zami

New Zenner

Join Date:
Feb 2006
Posts:
39
Plugin Contributions:
1

Re: Will some FTP programs really "overwrite" ?

Kim:

If your FTP is not overwriting the files properly, then it is probably a file ownership issue.

The proper way to package a contrib is to begin with the /includes directory and only have the sub-directories and files ( in their proper structure) needed to make the overrides

Thanks so much Kim!

That was EXACTLY what I needed to know!

-zami