Send a data frame to FTP without first saving it to a file on a computer

Hello.

I am trying to send data to a file on FTP. But nothing works for me. When doing this, plain text is sent.

This code sends text to file.

ftpUpload(I("Helo World!"),
          "ftp://login:password@ftp/file.txt",)

But for some reason this text doesn't send data.

ftpUpload(I(data),
          "ftp://login:password@ftp/file.txt",)

data -- is my data frame

Can anyone suggest how to send a data frame to FTP without first saving it to a file on a computer?

Try renaming data to my_data. data is a built-in object and some functions give it priority. This is very likely to be the cause if you get an error message mentioning 'closure`

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.