Open edugamo1993 opened 7 months ago
Hi,
In my test code, i am trying to upload an empty file: err = f.conn.Stor(f.currentFile, bytes.NewReader([]byte("")))
err = f.conn.Stor(f.currentFile, bytes.NewReader([]byte("")))
But returns (unexpected EOF) when the StorFrom method tries to read ftp response, here:
_, _, err = c.conn.ReadResponse(StatusClosingDataConnection)
Could you please help me?
Thanks
Hi,
In my test code, i am trying to upload an empty file:
err = f.conn.Stor(f.currentFile, bytes.NewReader([]byte("")))
But returns (unexpected EOF) when the StorFrom method tries to read ftp response, here:
_, _, err = c.conn.ReadResponse(StatusClosingDataConnection)
Could you please help me?
Thanks