How can I use FTP to move files between directories?

后端 未结 9 1875
日久生厌
日久生厌 2020-12-05 02:47

I have a program that needs to move a file from one directory to another on an FTP server. For example, the file is in:

ftp://1.1.1.1/MAIN/Dir1
9条回答
  •  爱一瞬间的悲伤
    2020-12-05 03:45

    I am working on the identical type of project, try building a web service that can move the files around and runs on the server where your files are. Build it with a parameter to pass in the file name. When writing the file to begin with you might want to append a value to the file name, say the PK of the data that correlates to the file etc.

提交回复
热议问题