ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Post here if you experience file transfer problems or unexpected errors.
I am new to this product so pardon the ignorance.

I need to take the user inputs and put them as remote directory. Can that be done?

I am using GETPARAM(3) and GETPARAM(4). That works fine.

However, how do I put the result of these variables in REMOTE_DRIECTORY?

$remote_directory=$param3/$param4 doesn't work and printing the value prints strange results?

PRINT($remote_directory) prints the value
Nan

- Don't know where it is getting from?

Printing $param3.$param4 will print the values of two command variables but not in the format I want as I want the directory to be as $param3/$param4 (e.g. testdir/subdir).

Any suggestions?

Thanks,
Irfan
Code: Select all$remote_directory=$param3."/".$param4  
or
Code: Select all$remote_directory=GETPARAM(3)."/".GETPARAM(4)  
Hey Andrey;

Works like a charm!

Thank you so much.

Cheers,
Irfan