Re: Re: File upload problems still!

2001-08-23 Thread Ryan Davis
C Haslock <[EMAIL PROTECTED]> Cc: Ryan Davis <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2001 9:37 PM Subject: Re: Re: File upload problems still! > > > In the end, they are going to put on a resume CD, with a VB front end, > and Word > > is used to do keyword sea

Re: Re: File upload problems still!

2001-08-23 Thread Mo Holkar / UKG
At 17:31 23/08/01, Ryan wrote: >^M's galore. The 'auto' setting on WS_ftp must not do much. By default WS_ftp will only be expecting files with certain extensions (eg. .txt, .htm) to be ASCII. So 'auto' will upload your .cgi or .pl files as binary. You can change these defaults on the Options

Re: Re: File upload problems still!

2001-08-23 Thread ryepup
> >cat -vet script.cgi | more > ^M's galore. The 'auto' setting on WS_ftp must not do much. >in-place edit: > >perl -pi -e 's/\r//g' script.cgi > >Just make sure to back up your script, first. worked like a charm, eliminating all the ^M's When I tried it out, the program still crash

Re: File upload problems still!

2001-08-23 Thread Curtis Poe
--- Ryan Davis <[EMAIL PROTECTED]> wrote: > Curtis+List, > > I checked out the CGI::Safe.pm module, and so far, I'm having the same > problem. The script goes to "Just about to get your resume!"; then quits. > I don't have access to server logs, so I don't know what is going on. I > think my se

Re: Re: File upload problems still!

2001-08-23 Thread ryepup
>Roger C Haslock wrote: >> >> Just an aside, but what is the point of format => 'Application/msword' ? >> >> Anyone can rename their file to look like '*.doc', and you can only >> determine the file content when you have uploaded it ( at which point you >> SHOULD check). > >not to mention yo

Re: Re: File upload problems still!

2001-08-23 Thread ryepup
>Roger C Haslock wrote: >> >> Just an aside, but what is the point of format => 'Application/msword' ? >> >> Anyone can rename their file to look like '*.doc', and you can only >> determine the file content when you have uploaded it ( at which point you >> SHOULD check). > >not to mention you

Re: File upload problems still!

2001-08-23 Thread fliptop
Roger C Haslock wrote: > > Just an aside, but what is the point of format => 'Application/msword' ? > > Anyone can rename their file to look like '*.doc', and you can only > determine the file content when you have uploaded it ( at which point you > SHOULD check). not to mention you may offend

Re: File upload problems still!

2001-08-23 Thread Roger C Haslock
Just an aside, but what is the point of format => 'Application/msword' ? Anyone can rename their file to look like '*.doc', and you can only determine the file content when you have uploaded it ( at which point you SHOULD check). Regards - Roger - - Original Message - From: "Ryan Davis