Spaces in filenames...
I need to occasionally delete a remote file so I've written a simple gui that inserts the filename into a command line and executes it. This is my command line:
"c:\Program Files\winscp\winscp.com" /command "option batch abort" "option confirm off" "open ftp://password:username@server.com" "rm /Temp/File_to_delete.plp" "exit"
Any help much appreciated.