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?
I need to add this command when uploading to an IBM Mainframe, but it's not supported:

quote site filetype=jes

With Windows ftp I use this once connected:

quote site filetype=jes
put C:\ftp\ftptrans.dat

But I need passive mode so tried scriptftp - the problem is the 'quote site' command isn't recognised.
Any ideas anyone?
Thanks
Nick
[scriptftp file="upload_and_quote.ftp"]RAWCOMMAND("site filetype=jes")
PUTFILE("C:\ftp\ftptrans.dat")
RENAMEFILE("ftptrans.dat","jar01.JES")[/ScriptFTP]

Or directly upload it with its definitive name:

[scriptftp file="upload_and_quote.ftp"]RAWCOMMAND("site filetype=jes")
PUTFILE2("C:\ftp\ftptrans.dat","jar01.JES")[/ScriptFTP]