curt22 Posted August 24, 2007 Share Posted August 24, 2007 In php is there a function to detect if a file needs to use FTP_ASCII or FTP_BINARY to be uploaded? I'm makeing an ftp program and I'm looking for a function that tells me if i should use FTP_ASCII or FTP_BINARY so that people who don't know much about ftp don't have to decide which one to use. Quote Link to comment Share on other sites More sharing options...
Fadion Posted August 24, 2007 Share Posted August 24, 2007 I have no idea about this so cant help, but if found this thread which may help. Quote Link to comment Share on other sites More sharing options...
curt22 Posted August 24, 2007 Author Share Posted August 24, 2007 Thanks GuiltyGear I figured it out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.