My command prompt says the file transfer was successful.
But I do not see any file imported from my local
to my virtual
directory.
The file is gone though, upon import, due to the 'delete' command line.
Also, when I drag & drop the file on WinSCP, I see the file in the folder I want it to be.
on Advanced Site Settings dialog, virtual directory is : FWF FTP
/Test/To_Synapse/Retail/Ready
And the file gets transferred to Archive folder upon import (cannot set directory to Archive folder).
My .batch file:
C:\Program Files (x86)\WinSCP\WinSCP.com" /script="C:\path\to\script\FTPToFWFTest.txt
My .txt file:
option batch abort
option confirm off
open ftp://*****:******@***.**.**.**
lcd C:\local\path\
put -delete *.csv*
close
exit
I will be as responsive as I can. Please leave any comment if you need clarification.
I'd very much appreciated experts help on this. Any guidance on this would be very helpful. Thank you in advance. I hope you all get warm and happy holidays!