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.
Need help writing a script? Have any question about ScriptFTP?
How can I download files to a desktop as the path changes from user to user?

Thanks.
Try the following:

[scriptftp="desktop_path.ftp"]$user_desktop_path=GETENV("USERPROFILE")."\Desktop"
PRINT("user desktop path is ".$user_desktop_path)
LOCALCHDIR($user_desktop_path)
GETFILE("*.*")[/ScriptFTP]