Can I add custom FTP commands
When using WinSCP, is it possible to add / modify the FTP commands? We connect to Sterling Connect Enterprise which acts as an FTP host. Files can have the same name, it's a "Group" number that makes them unique, so if you just use the del command, you delete every file instead of just the one(s) you want to delete. The Connect Enterprise host can accept commands unique to that application that specify the Group number (actually, the batch number); see the $$ command below in quotes. I don't think custom commands are used for this but I don't see any way to send a command like this (where the batch number would be gleaned from the Group or else a prompt for the user to enter it.)
230 Connect:Enterprise UNIX login ok, access restrictions apply.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for .
-CR-------FTP A vp2tms 164580 0 Jan 03 11:55 PRICING_CHGS
-CRT------FTP A vp2tms 5226 1764 Jan 04 00:48 PRICING_CHGS
Total number of batches listed: 2
226 Transfer complete.
ftp: 185 bytes received in 0.20Seconds 0.91Kbytes/sec.
ftp> del "$$ BID=#164580" (this number matches the Group number on the filename above)250 DELE command successful.
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for .
-CRT------FTP A vp2tms 5226 1764 Jan 04 00:48 PRICING_CHGS
Total number of batches listed: 1
226 Transfer complete.
ftp: 110 bytes received in 0.13Seconds 0.88Kbytes/sec.
ftp> bye
221 Goodbye.
C:\>