Author Topic: Is there a <FTPAPPEND> command?  (Read 12041 times)

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
Is there a <FTPAPPEND> command?
« on: August 22, 2014, 09:43:49 PM »
I've been using the <FTPUPLD xxxx> network command to upload data files from the PLC to my client's FTP file server.  My client would like the PLC to be able to append data to an existing file via FTP.

I've explained that I do not believe that there is an "undocumented" FTPAPPEND network command.  

So the question is, "have I been telling my the truth?"

Best regards,

Gary d

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Is there a <FTPAPPEND> command?
« Reply #1 on: August 23, 2014, 07:29:06 AM »
There isn't a undocumented "<FTPAPPEND>" command - sorry... but you can always give the uploaded file a different fragment name and let the PC does the work of joining the multiple files together.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

garysdickinson

  • Hero Member
  • Posts: 502
  • Old PLC Coder
    • View Profile
Re:Is there a <FTPAPPEND> command?
« Reply #2 on: August 23, 2014, 09:22:02 AM »
Thanks for your quick reply

I agree 100% with your suggestion of having the "append" functionality on the FTP server end.

I didn't want to attempt an FTP APPEND from the PLC because it require that there is an existing file on the server and that file has to be writable (not locked). These sorts of issues make FTP APPEND about 10x more difficult then the existing FTPUPLD.

Gary d