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?
Is there currently any plan to provide for UNC path support? I have a situation where I will need to copy and delete files that are on a UNC Path. I may be able to circumvent this by having the user that runs the script map a network drive to the UNC path, but for future use it would be handy to have support for the UNC paths themselves.
Hi Andrew,

UNC paths are supported in ScriptFTP. For example:

[scriptftp="unc_example.ftp"]PUTFILE("\\ANDREW-PC\path_to\the_file.txt")
EXEC("copy \\ANDREW-PC\path_to\the_file.txt C:\mysentfiles")
EXEC("del \\ANDREW-PC\path_to\the_file.txt")[/ScriptFTP]

You may find usefull the help topic for the EXEC command. The remarks section explain how to use quotes for paths that contain spaces:

http://www.scriptftp.com/reference.php?go=topic260