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. Link to comment https://forums.phpfreaks.com/topic/66422-solved-ftp_put/ 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. Link to comment https://forums.phpfreaks.com/topic/66422-solved-ftp_put/#findComment-332475 Share on other sites More sharing options...
curt22 Posted August 24, 2007 Author Share Posted August 24, 2007 Thanks GuiltyGear I figured it out. Link to comment https://forums.phpfreaks.com/topic/66422-solved-ftp_put/#findComment-333237 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.