Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Uploading Question!?  (Read 3014 times)

0 Members and 1 Guest are viewing this topic.

beanie

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Uploading Question!?
« on: July 15, 2004, 05:54:14 pm »

When uploading cpg which modes do I upload in?

Shall I assume ascii for php, css and js files and binary for image files?!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading Question!?
« Reply #1 on: July 15, 2004, 06:21:04 pm »

all images (jpg, gif, png) should be uploaded as binary, all files that contain text (php, htm, css, js etc.) in ascii mode. Most ftp clients have an "auto" mode that will use the proper mode for each file; if your ftp client has "auto", use it. Sometimes (on some servers, I should say) you will encounter double line breaks in files that were uploaded in ascii: in this case, try "binary" for all file types.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 15 queries.