remote file name

Jan 18, 2011 at 7:39 PM

Hello,

I'm using the PutUniqueFile method and the file transfer happens successfully but the remote file name is always FTP0000000. I'm specifying the remote file name as

cftp.PutUniqueFile("local path", "filename.txt")

Can someone please tell me what I am missing.

 

Thank-you,

Coordinator
Mar 2, 2011 at 10:42 PM

Hi,

"PutUniqueFile" generates a random name which is unique on the server.

You should use "PutFile" for your purposes.

 

Cheers,

Alessandro Pilotti

[ MVP / IIS ]