Y
Yasir Zaheer
I need to access a FTP Server. I'm using FTPWebRequest as described in
visual studio 2005 documentation.
Everything works fine except i cannot change the current working
directory on the server to the parent directory.
I see the following methods listed in MSDN for the
WebRequestMethods.Ftp Members:
AppendFile Represents FTP APPE
DeleteFile Represents FTP DELE
DownloadFile Represents FTP RETR
GetDateTimestamp
GetFileSize Represents FTP SIZE
ListDirectory Represents FTP NLIST
ListDirectoryDetails Represents FTP LIST
MakeDirectory Represents FTP MKD
PrintWorkingDirectory Represents FTP PWD
RemoveDirectory Represents FTP RMD
Rename Represents FTP RENAME
UploadFile Represents FTP STOR
UploadFileWithUniqueName
When i am trying to pass "CDUP" FTP method to change the working
directory to parent it throws the argument exception
"This method is not supported. Parameter name: value"
this means that it is strictly allowing the set of methods present in
the enum. Is there any possiblilty to do this using .net libraries?
please, reply urgently.
visual studio 2005 documentation.
Everything works fine except i cannot change the current working
directory on the server to the parent directory.
I see the following methods listed in MSDN for the
WebRequestMethods.Ftp Members:
AppendFile Represents FTP APPE
DeleteFile Represents FTP DELE
DownloadFile Represents FTP RETR
GetDateTimestamp
GetFileSize Represents FTP SIZE
ListDirectory Represents FTP NLIST
ListDirectoryDetails Represents FTP LIST
MakeDirectory Represents FTP MKD
PrintWorkingDirectory Represents FTP PWD
RemoveDirectory Represents FTP RMD
Rename Represents FTP RENAME
UploadFile Represents FTP STOR
UploadFileWithUniqueName
When i am trying to pass "CDUP" FTP method to change the working
directory to parent it throws the argument exception
"This method is not supported. Parameter name: value"
this means that it is strictly allowing the set of methods present in
the enum. Is there any possiblilty to do this using .net libraries?
please, reply urgently.