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
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
liked Script FTP? Try our other product Email Parser