|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ftp
Hi
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) thank you |
|
#2
|
||||
|
||||
|
Quote:
chdir()? the path you supplied in fopen() or similar? Quote:
always use binary. unless you are using a very old server software or browser.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#3
|
|||
|
|||
|
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:\
|
|
#4
|
|||
|
|||
|
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... |
|
#5
|
|||
|
|||
|
yea same format.
source file is test.gif. Do I just put the whole dir? C:\folder\test.gif =)) |
|
#6
|
|||
|
|||
|
yes...
|
|
#7
|
|||
|
|||
|
okey dokey =) thanks a million =)
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > ftp |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|