We're sending files to a 3rd party via FTP and the...
# cfml-general
m
We're sending files to a 3rd party via FTP and they are updating things on their end 🙄 . Apparently one of our files is too large for their new system and they are asking us to add
-resumesupport=off
to our
<cfftp action="putfile">
. I'm not seeing any options for this in ColdFusion/cfftp and my initial web searching hasn't turned up anything helpful; has anybody had to do similarly and could point me in the right direction?
b
As far as I can tell,
-resumesupport
is a valid flag for WinSCP that has to do with using a temporary filename during transfer (https://winscp.net/eng/docs/scriptcommand_put#resumesupport), but is not supported/implemented in the
<cfftp>
tag on ACF or Lucee
e
you could try setting retrycount = 0, so if there is an error it will stop. The other option would be to use a command line ftp client or ssh
m
The weird thing is that they said it's being broken "into fileparts," but as far as I can tell, the file transfers just fine, as one file. Or maybe that's not something I can tell from my end?
The file is a consistent size, so I'm not sure retrying would help.
b
This is just a wild guess, but if they have something that's impacting file locking or some automated process that's messing with the file in a partially-transferred state, that could cause issues like that
d
Is there an ftp server you control and can monitor, so you can try some stuff and see the results? May not exactly help, since they use whatever they use, but you might be able to suss something out, or advise them on settings maybe.
m
I'm not sure we do have an in-house FTP server, but it's worth checking out.
e
Check out Filezilla server for windows. Its free, basic and easy enough to setup in a dev enviroment.
👍 1