Skip to main content
Inspiring
August 20, 2018
Question

Copy excel file from Linux server to Windows server

  • August 20, 2018
  • 1 reply
  • 1457 views

I have excel files on a Linux server that I need to copy to a windows server.

So I can read the excel file on the windows server and use the data to autofill PDF's.

Ideally, I would like to avoid the file transfer and just read from the excel on the Linux server.

But the Linux server only hasRailo, but no CF, so I can't use <cfspreadsheet to read the needed info.

Assuming all this is true, I need to copy the file from Linux server to Windows server.

How do I do that?

This topic has been closed for replies.

1 reply

WolfShade
Legend
August 20, 2018

If the Linux server has FTP turned on and ready, you can use CFFTP to transfer the files to CF.

If you have Samba set up, you can just xfer the files via drag-n-drop.

V/r,

^ _ ^

UPDATE:  Actually, if you have Samba configured, you can set up a virtual drive on the Windows server and use CFDIRECTORY to get a list of the files, and then CFFILE to read the files on the Linux server.

weezerboyAuthor
Inspiring
August 20, 2018

Ideally, I'd like to just read from the excel file on the linux server and avoid the step of the file copy from linux to windows.

Is it possible to read from the excel file on a Linux , Railo server so that I can use it to create PDFS on my windows server?

WolfShade
Legend
August 20, 2018

Check my update.  You can "map" a Windows drive to the folder on the Linux server if you have Samba configured.  Then use CFDIRECTORY to list the folder contents and CFSPREADSHEET to create an Excel object from the file(s).  From there, it's up to you.

HTH,

^ _ ^