February 3rd, 2003, 03:19 PM
if ftp_chdir selects the dir to which the file will be uploaded on the ftp server. how can i select the dir from which the file will be uploaded?
Also, is there an article about ASCII and BINARY and other ( if there are any)
February 3rd, 2003, 03:28 PM
the path you supplied in fopen() or similar?
always use binary. unless you are using a very old server software or browser.
February 3rd, 2003, 03:31 PM
fopen()? I'm a newbie i don't know a lot of stuff. I'm just having problems uploading stuff from directories other than C:\
February 3rd, 2003, 03:47 PM
q: how are you choosing the file to upload?
ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
what is your "$source_file"? this is where you put the folder in...
February 3rd, 2003, 03:49 PM
yea same format.
source file is test.gif. Do I just put the whole dir? C:\folder\test.gif
February 3rd, 2003, 03:55 PM
February 3rd, 2003, 03:59 PM
okey dokey =) thanks a million =)