Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.7k views
in .NET FTP by (480 points)
hi...i m getting an error on uploading the readonly files from my local machine to ftp server location...does that mean that i cannot process the readonly files?? please reply soon

9 Answers

0 votes
by (162k points)
What is the error you are getting? Log file?
0 votes
by (480 points)
i was to able to resolve that...thanks anyways :D ...but i hav one more doubt with this... can i delete the file from the remote directory....by giving a statement like this

ftpconnection.DeleteFile("DigitalTicket\\test.txt");

assuming that DigitalTicket is my directory at ftp and test.txt is a file in it(Which i want to delete)... i m trying to do that but it doesnt happen...i can delete the file if its not in any directory...i guess something is missing with my statement...can u please guide me on that bruce...
0 votes
by (162k points)
Generally you will need to change directory into "DigitalTicket" and then call DeleteFile("test.txt")
0 votes
by (480 points)
well...methods for working directory are obsolete in teh software i hav and i change the server directory dont hav method for tha too :(
0 votes
by (480 points)
i m using the set of statemnts like this

ftpConnection1.ChangeWorkingDirectory("DigitalTicketTest");
ftpConnection1.DeleteFile("Test.txt");

and that throws an exception:

"{EnterpriseDT.Net.Ftp.FTPException: Test.txt: Access is denied. (code=550)"

please help me to resolve...i guess it mite be a small issue... :(
0 votes
by (162k points)
Looks like you don't have permission to delete the file on the server.
0 votes
by (480 points)
its the file which i hav uploaded into a directory which i hav created... DigitalTicket directory is the one which i hav created and so is the file...will it still not me to delete and acess the file... i browsed thru the ftp site, there are existing files which i m able to access and delete as well....can u help me realise wht cud be the problem...if its permission issue...how can i check if i hav permission to access the file...becoz i see permissions field as blank when i put statement like connectionftp1.GetFileInfos()...
thanks for ur help :D
0 votes
by (480 points)
this is trouble man...i cant even delete the file and this is a sensitive server of my company workspace....can u please help me delete this file someway :(
0 votes
by (162k points)
Can you delete it with a command line FTP client? What are its permissions? (use 'dir' in its directory).

Categories

...