Hi Carl, I was wondering if would it be possible to pass a variable to the sync command instead of the parameter DOWNLOAD or UPLOAD. Something like $result=SYNC($localdir,$remotedir, $downloadOrUpload)
so that I could handle all possibilities of upload and download with only one line of code. Thanks
so that I could handle all possibilities of upload and download with only one line of code. Thanks
Hi,
No, sorry. It is not possible. That parameter of the SYNC command does not accept variables. You have to call SYNC twice, one with DOWNLOAD and other with UPLOAD
No, sorry. It is not possible. That parameter of the SYNC command does not accept variables. You have to call SYNC twice, one with DOWNLOAD and other with UPLOAD
liked Script FTP? Try our other product Email Parser